From 1c452a8858a5fe20b96e6d575b9055cbc535c6f1 Mon Sep 17 00:00:00 2001 From: Jim Garlick Date: Tue, 10 Dec 2024 11:14:16 -0800 Subject: [PATCH] ci: add macos-12 build only test Problem: flux-core has been partially ported to macos, to the point of building but not running, but there is no test to notify of regressions. Add a simple build test to the CI workflow. --- .github/workflows/main.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8fa0fb1c8f26..125843d3c4fd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -113,6 +113,22 @@ jobs: cd flux-pam && src/test/docker/docker-run-checks.sh -j 4 -i el8 + build-macos: + needs: [python-lint] + name: macos build only + runs-on: macos-14 + steps: + - uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha }} + fetch-depth: 0 + - name: Install dependencies + run: scripts/install-deps-macos.sh + - name: autogen, configure + run: scripts/configure-macos.sh + - name: make, including test programs + run: make check -j4 TESTS= + generate-matrix: # https://stackoverflow.com/questions/59977364 name: Generate build matrix