Skip to content

Commit

Permalink
Linux build fix4
Browse files Browse the repository at this point in the history
  • Loading branch information
ihedvall committed Jan 24, 2024
1 parent 394b044 commit 80563e8
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,24 +54,19 @@ jobs:
# pack: 1

steps:
- name: Checkout repository
uses: actions/checkout@master
with:
submodules: true

- name: NINJA Install
uses: seanmiddleditch/gha-setup-ninja@master
with:
platform: ${{ matrix.env.ninja_platform }}
destination: ninja

- name: NINJA Set Env
run: cmake -E env CMAKE_GENERATOR=Ninja

- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true

- name: CMAKE Configure
env: ${{ matrix.env.cmake_env }}
run: >
cmake -B ${{github.workspace}}/build -D CMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
run: cmake -G Ninja -B ${{github.workspace}}/build

- name: CMAKE Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
Expand Down

0 comments on commit 80563e8

Please sign in to comment.