Skip to content

Commit

Permalink
Add macOS 13 & 15 builds and drop 12
Browse files Browse the repository at this point in the history
  • Loading branch information
dfandrich committed Oct 16, 2024
1 parent 332496b commit facaf3f
Showing 1 changed file with 11 additions and 27 deletions.
38 changes: 11 additions & 27 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,40 +156,24 @@ jobs:
name: 'fvcbm-linux-arm'
path: fvcbm

osx-12-x86_64:
name: 'macOS 12 on x86_64'
runs-on: macos-12
osx:
strategy:
fail-fast: false
matrix:
build:
os: [macos-13, macos-14, macos-15]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: 'Compile with gcc on x86_64'
run: make linux
- name: 'Run tests with gcc on x86_64'
run: make test
- name: 'Compile fat binary with gcc on x86_64'
run: make clean && make linux LINUX_CC=cc LINUX_CFLAGS='-O2 -DUNIX -arch arm64 -arch x86_64'
- name: 'Run tests with fat binary with gcc on x86_64'
run: make test
- name: 'Strip binary'
run: strip fvcbm
- uses: actions/upload-artifact@v4
with:
name: 'fvcbm-macos'
path: fvcbm

osx-14-aarch64:
name: 'macOS 14 on aarch64'
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: 'Compile with gcc on aarch64'
- name: 'Compile with gcc'
# nroff is not available, so skip the man build
run: touch fvcbm.man && make linux
- name: 'Run tests with gcc on aarch64'
- name: 'Run tests with gcc'
run: make test
- name: 'Compile fat binary with gcc on aarch64'
- name: 'Compile fat binary with gcc'
# nroff is not available, so skip the man build
run: make clean && touch fvcbm.man && make linux LINUX_CC=cc LINUX_CFLAGS='-O2 -DUNIX -arch arm64 -arch x86_64'
- name: 'Run tests with fat binary with gcc on aarch64'
- name: 'Run tests with fat binary with gcc'
run: make test

freebsd-13:
Expand Down

0 comments on commit facaf3f

Please sign in to comment.