Skip to content

Commit 32b22bb

Browse files
committed
explicit builds for macos-13 and macos-14
1 parent c896958 commit 32b22bb

File tree

1 file changed

+32
-2
lines changed

1 file changed

+32
-2
lines changed

.github/workflows/build.yml

+32-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,38 @@ jobs:
7878
run: cd build && make
7979
- name: tests
8080
run: cd build && ctest --output-on-failure
81-
macos-latest-build:
82-
runs-on: macos-latest
81+
macos-14-build:
82+
runs-on: macos-14
83+
steps:
84+
- name: Checkout repository code
85+
uses: actions/checkout@v2
86+
- name: Checkout submodules
87+
run: git submodule update --init --recursive
88+
- name: install dependencies
89+
run: brew install --force --overwrite cmake && brew install --force --overwrite glpk && brew tap coin-or-tools/coinor && brew install --force --overwrite coin-or-tools/coinor/cbc
90+
- name: cmake
91+
run: mkdir build && cd build && cmake ..
92+
- name: make
93+
run: cd build && make
94+
- name: tests
95+
run: cd build && ctest --output-on-failure
96+
macos-13-build:
97+
runs-on: macos-13
98+
steps:
99+
- name: Checkout repository code
100+
uses: actions/checkout@v2
101+
- name: Checkout submodules
102+
run: git submodule update --init --recursive
103+
- name: install dependencies
104+
run: brew install --force --overwrite cmake && brew install --force --overwrite glpk && brew tap coin-or-tools/coinor && brew install --force --overwrite coin-or-tools/coinor/cbc
105+
- name: cmake
106+
run: mkdir build && cd build && cmake ..
107+
- name: make
108+
run: cd build && make
109+
- name: tests
110+
run: cd build && ctest --output-on-failure
111+
macos-12-build:
112+
runs-on: macos-12
83113
steps:
84114
- name: Checkout repository code
85115
uses: actions/checkout@v2

0 commit comments

Comments
 (0)