From 81c4da3960da8e901f46e90fc1d6d5350f714211 Mon Sep 17 00:00:00 2001 From: "Sean T. Allen" Date: Wed, 31 Jan 2024 02:07:08 +0000 Subject: [PATCH] Add nightly macos arm64 breakage test --- ...akage-against-macOS-arm64-ponyc-latest.yml | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/breakage-against-macOS-arm64-ponyc-latest.yml diff --git a/.github/workflows/breakage-against-macOS-arm64-ponyc-latest.yml b/.github/workflows/breakage-against-macOS-arm64-ponyc-latest.yml new file mode 100644 index 00000000..1737de0b --- /dev/null +++ b/.github/workflows/breakage-against-macOS-arm64-ponyc-latest.yml @@ -0,0 +1,31 @@ +name: arm64 macOS ponyc update breakage test + +on: + repository_dispatch: + types: [ponyc-arm64-macos-nightly-released] + +jobs: + macos: + name: Verify main against the latest ponyc on macOS + runs-on: macos-14 + steps: + - uses: actions/checkout@v3 + - name: install ponyc + run: bash .ci-scripts/macOS-arm64-install-pony-tools.bash nightly + - name: brew install dependencies + run: brew install coreutils + - name: Test with most recent ponyc release + run: | + export PATH="/tmp/ponyc/bin/:$PATH" + make unit-tests config=debug + - name: Send alert on failure + if: ${{ failure() }} + uses: zulip/github-actions-zulip/send-message@b62d5a0e48a4d984ea4fce5dd65ba691963d4db4 + with: + api-key: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_API_KEY }} + email: ${{ secrets.ZULIP_SCHEDULED_JOB_FAILURE_EMAIL }} + organization-url: 'https://ponylang.zulipchat.com/' + to: notifications + type: stream + topic: ${{ github.repository }} scheduled job failure + content: ${{ github.server_url}}/${{ github.repository }}/actions/runs/${{ github.run_id }} failed.