Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jll63 committed Aug 15, 2024
1 parent 7710ba0 commit 17ecedc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
- os: windows-latest
config: dbg
linkage: shared
pre_test: $env:PATH += ";" + (Get-Item .).FullName + "\builds\ninja-cl-shared\src\Debug"
add_shared_path: $env:PATH += ";" + (Get-Item .).FullName + "\builds\ninja-cl-shared\src\Debug"
- os: windows-latest
config: rel
pre_test: $env:PATH += ";" + (Get-Item .).FullName + "\builds\ninja-cl-shared\src\Release"
add_shared_path: $env:PATH += ";" + (Get-Item .).FullName + "\builds\ninja-cl-shared\src\Release"
- os: ubuntu-latest
gcc: true
- os: ubuntu-latest
Expand Down Expand Up @@ -128,9 +128,10 @@ jobs:
- name: Build
run: |
${{ matrix.add_shared_path }}
cmake --build --preset build-ninja-${{ matrix.compiler }}-${{ matrix.linkage}}-${{ matrix.config }}
- name: Test
run: |
${{ matrix.pre_test }}
${{ matrix.add_shared_path }}
ctest --preset test-ninja-${{ matrix.compiler }}-${{ matrix.linkage}}-${{ matrix.config }} --output-on-failure

0 comments on commit 17ecedc

Please sign in to comment.