Skip to content

Commit f7d62f1

Browse files
committed
ci: fix it
1 parent 04fc98e commit f7d62f1

File tree

2 files changed

+10
-30
lines changed

2 files changed

+10
-30
lines changed

.github/workflows/cmake-tag.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,15 @@ jobs:
1515
strategy:
1616
fail-fast: true
1717
matrix:
18-
os: [ubuntu-24.04, windows-latest, macos-12]
18+
os: [ubuntu-24.04, windows-latest, macos-latest]
1919
include:
20-
- os: ubuntu-24.04
20+
- os: ubuntu-latest
2121
cmake: /usr/bin/env CC=gcc-14 CXX=g++-14 cmake
22-
- os: macos-12
23-
cmake: /usr/bin/env CC="$(brew --prefix llvm@17)/bin/clang" CXX="$(brew --prefix llvm@17)/bin/clang++" cmake
2422
- os: windows-latest
2523
cmake: .\.github\workflows\build-windows.bat cmake
24+
- os: macos-latest
25+
cmake: /usr/bin/env CC="$(brew --prefix llvm)/bin/clang" CXX="$(brew --prefix llvm)/bin/clang++" cmake
26+
2627

2728
steps:
2829
- uses: actions/checkout@v3
@@ -45,8 +46,8 @@ jobs:
4546

4647
- name: Install OSX dependencies
4748
run: |
48-
brew install SDL2 llvm@17
49-
if: matrix.os == 'macos-12'
49+
brew install SDL2 llvm lld
50+
if: matrix.os == 'macos-latest'
5051

5152
- name: Configure
5253
run: ${{matrix.cmake}} -G "Ninja" -S ${{github.workspace}}/ -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

.github/workflows/cmake.yml

+3-24
Original file line numberDiff line numberDiff line change
@@ -15,39 +15,24 @@ jobs:
1515
strategy:
1616
fail-fast: true
1717
matrix:
18-
#os: [ubuntu-24.04, windows-latest, macos-12]
19-
os: [ubuntu-24.04]
18+
os: [ubuntu-latest]
2019
include:
21-
- os: ubuntu-24.04
20+
- os: ubuntu-latest
2221
cmake: /usr/bin/env CC=gcc-14 CXX=g++-14 cmake
23-
#- os: macos-12
24-
# cmake: /usr/bin/env CC="$(brew --prefix llvm@16)/bin/clang" CXX="$(brew --prefix llvm@16)/bin/clang++" cmake
25-
#- os: windows-latest
26-
# cmake: .\.github\workflows\build-windows.bat cmake
2722

2823
steps:
2924
- uses: actions/checkout@v3
3025
with:
3126
submodules: recursive
3227

33-
- uses: abdes/gha-setup-ninja@master
34-
with:
35-
version: 1.11.1
36-
if: matrix.os != 'ubuntu-24.04'
37-
3828
- name: Install Linux dependencies
3929
run: |
4030
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
4131
sudo apt -q=2 update
4232
sudo apt install g++-14 gdb ninja-build libbenchmark-dev
4333
sudo apt -q install libgl1-mesa-dri libgl-dev libglx-dev xorg-dev xvfb libopencv-dev
4434
sudo apt -q install libsdl2-dev
45-
if: matrix.os == 'ubuntu-24.04'
46-
47-
- name: Install OSX dependencies
48-
run: |
49-
brew install SDL2 llvm@16
50-
if: matrix.os == 'macos-12'
35+
if: matrix.os == 'ubuntu-latest'
5136

5237
- name: Configure
5338
run: ${{matrix.cmake}} -G "Ninja" -S ${{github.workspace}}/ -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
@@ -64,9 +49,3 @@ jobs:
6449
xvfb-run gdb -q -batch -x ../../.github/gdbscript.py --args bin/floormat-test
6550
xvfb-run gdb -q -batch -x ../../.github/gdbscript.py --args bin/floormat-benchmark
6651
if: matrix.os == 'ubuntu-24.04'
67-
68-
# - name: Upload build
69-
# uses: actions/[email protected]
70-
# with:
71-
# name: buildoutput
72-
# path: ${{github.workspace}}/build/

0 commit comments

Comments
 (0)