diff --git a/.github/workflows/automatic-build.yml b/.github/workflows/automatic-build.yml deleted file mode 100644 index 0adedfe..0000000 --- a/.github/workflows/automatic-build.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: MacOSX BigSur brew build -on: - release: - types: [published] -jobs: - checkout-repo: - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [macos-latest, macos-12] - steps: - - name: Checkout upstream metacall.rb brew install - uses: actions/checkout@v3 - - run: | - chmod +x ./build.sh - ./build.sh - diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..a6300e1 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,24 @@ +name: Build and Test Homebrew MetaCall + +on: + push: + pull_request: + workflow_dispatch: + +jobs: + test: + strategy: + matrix: + os: [macos-latest, macos-12] + runs-on: ${{ matrix.os }} + steps: + - name: Check out the repository + uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Build + run: ./build.sh + + - name: Test + run: ./test.sh