Skip to content

Commit

Permalink
Add CI builds on MacOS 14 M1 runner
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio committed Apr 4, 2024
1 parent 0e68922 commit 7c12452
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/macos-nondefault.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-12, macos-13]
os: [macos-12, macos-13, macos-14]
classes: [boost, std]
include:
- classes: std
Expand All @@ -21,14 +21,14 @@ jobs:
env:
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1
run: |
brew install automake boost
brew install automake autoconf libtool boost
- name: Compiler version
run: |
clang --version
- name: Build
run: |
./autogen.sh
./configure --disable-shared --enable-error-lines --enable-error-functions --enable-tracing --enable-indexed-coupons --enable-extra-safety-checks --enable-sessions --enable-thread-safe-observer-pattern --enable-intraday --disable-faster-lazy-objects --enable-throwing-in-cycles --enable-null-as-functions ${{ matrix.configureflags }} CC="clang" CXX="clang++" CXXFLAGS="-O2 -g0 -Wall -Werror ${{ matrix.cxxflags }}"
./configure --disable-shared --with-boost-include=`brew --prefix`/include --enable-error-lines --enable-error-functions --enable-tracing --enable-indexed-coupons --enable-extra-safety-checks --enable-sessions --enable-thread-safe-observer-pattern --enable-intraday --disable-faster-lazy-objects --enable-throwing-in-cycles --enable-null-as-functions ${{ matrix.configureflags }} CC="clang" CXX="clang++" CXXFLAGS="-O2 -g0 -Wall -Werror ${{ matrix.cxxflags }}"
make -j 3
- name: Run tests
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-12, macos-13]
os: [macos-12, macos-13, macos-14]
steps:
- uses: actions/checkout@v4
- name: Setup
env:
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1
run: |
brew install automake boost ccache
brew install automake autoconf libtool boost ccache
- name: Cache
uses: hendrikmuhs/[email protected]
with:
Expand All @@ -28,7 +28,7 @@ jobs:
- name: Build
run: |
./autogen.sh
./configure --disable-shared ${{ matrix.configureflags }} CC="ccache clang" CXX="ccache clang++" CXXFLAGS="-O2 -g0 -Wall -Werror ${{ matrix.cxxflags }}"
./configure --disable-shared --with-boost-include=`brew --prefix`/include ${{ matrix.configureflags }} CC="ccache clang" CXX="ccache clang++" CXXFLAGS="-O2 -g0 -Wall -Werror ${{ matrix.cxxflags }}"
make -j 3
- name: Run tests
run: |
Expand Down

0 comments on commit 7c12452

Please sign in to comment.