Skip to content

Commit

Permalink
fix ci: linux
Browse files Browse the repository at this point in the history
  • Loading branch information
uchenily committed May 20, 2024
1 parent ebeaefc commit ac66c15
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,17 @@ jobs:
# chmod +x install-cmake.sh
# ./install-cmake.sh --prefix=/usr/local --skip-license

- name: Build
- name: Build(clang)
if: matrix.config.compiler == 'clang'
run: |
meson setup build -Dbuildtype=${{ matrix.config.build_type }} --cross-file cross-clang.ini
meson compile -C build
- name: Build(gcc)
if: matrix.config.compiler == 'gcc'
run: |
CXX=${{ matrix.config.cxx }} meson setup build -Dbuildtype=${{ matrix.config.build_type }}
meson setup build -Dbuildtype=${{ matrix.config.build_type }}
meson compile -C build
./build/tests/gtests/all_gtests
- name: Install
run: |
Expand Down

0 comments on commit ac66c15

Please sign in to comment.