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