From ef1ce2d09511ef50ab0449f6938fea9c893c9954 Mon Sep 17 00:00:00 2001 From: Vicente Eduardo Ferrer Garcia <7854099+viferga@users.noreply.github.com> Date: Tue, 30 Jan 2024 14:28:24 -0500 Subject: [PATCH] Update and rename automatic-build.yml to test.yml --- .github/workflows/automatic-build.yml | 17 ----------------- .github/workflows/test.yml | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 17 deletions(-) delete mode 100644 .github/workflows/automatic-build.yml create mode 100644 .github/workflows/test.yml 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