Skip to content

Commit

Permalink
ci: add macos-12 build only test
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
garlick committed Dec 10, 2024
1 parent 86b9dad commit ec96506
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ec96506

Please sign in to comment.