From 5864cf6bf149425ea8001109eed20237f18a5ebf Mon Sep 17 00:00:00 2001 From: Danilo Tuler Date: Fri, 6 Sep 2024 00:18:28 -0400 Subject: [PATCH] ci: update CI builds --- .github/workflows/cartesi-machine.yml | 17 +++++++++++++++++ .github/workflows/cartesi.yml | 17 +++++++++++++++++ .github/workflows/ci.yml | 13 ------------- scripts/test | 7 ------- 4 files changed, 34 insertions(+), 20 deletions(-) create mode 100644 .github/workflows/cartesi-machine.yml create mode 100644 .github/workflows/cartesi.yml delete mode 100644 .github/workflows/ci.yml delete mode 100755 scripts/test diff --git a/.github/workflows/cartesi-machine.yml b/.github/workflows/cartesi-machine.yml new file mode 100644 index 0000000..e645b64 --- /dev/null +++ b/.github/workflows/cartesi-machine.yml @@ -0,0 +1,17 @@ +name: cartesi-machine +on: + push: + paths: + - .github/workflows/cartesi-machine.yml + - Formula/cartesi-machine.rb +jobs: + test: + runs-on: macos-latest + steps: + - uses: actions/checkout@v4 + - uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: latest-stable + - run: brew update + - run: brew install Formula/cartesi-machine.rb + - run: cartesi-machine --version diff --git a/.github/workflows/cartesi.yml b/.github/workflows/cartesi.yml new file mode 100644 index 0000000..eb48863 --- /dev/null +++ b/.github/workflows/cartesi.yml @@ -0,0 +1,17 @@ +name: cartesi +on: + push: + paths: + - .github/workflows/cartesi.yml + - Formula/cartesi.rb +jobs: + test: + runs-on: macos-latest + steps: + - uses: actions/checkout@v4 + - uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: latest-stable + - run: brew update + - run: brew install Formula/cartesi.rb + - run: cartesi --version diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 7dd9e5c..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: Node CI Suite -on: push -jobs: - test: - runs-on: macos-latest - steps: - - uses: actions/checkout@v3 - - uses: maxim-lobanov/setup-xcode@v1 - with: - xcode-version: latest-stable - - run: brew update - - run: brew cleanup - - run: ./scripts/test diff --git a/scripts/test b/scripts/test deleted file mode 100755 index c9a2441..0000000 --- a/scripts/test +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash - -set -ex - -brew update -brew install Formula/cartesi.rb -cartesi --help