-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into msys_support
- Loading branch information
Showing
6 changed files
with
129 additions
and
177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,94 +11,57 @@ on: | |
- 'doc/**' | ||
|
||
jobs: | ||
vs2022: | ||
windows-msvc: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
build_type: [Debug, Release] | ||
os: [windows-2022, windows-2019] | ||
|
||
runs-on: windows-latest | ||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- run: cmake -E make_directory build | ||
- name: Configure Visual Studio Environment | ||
uses: ilammy/[email protected] | ||
|
||
- shell: bash | ||
working-directory: build/ | ||
run: cmake $GITHUB_WORKSPACE -G "Visual Studio 17 2022" | ||
- name: Install Ninja | ||
uses: seanmiddleditch/gha-setup-ninja@v4 | ||
|
||
- working-directory: build/ | ||
run: cmake --build . --config ${{ matrix.build_type }} | ||
- name: Configure CMake | ||
run: cmake ${{ github.workspace }} -G "Ninja" -B build | ||
|
||
- working-directory: build/ | ||
run: ctest -C ${{ matrix.build_type }} --output-on-failure | ||
|
||
vs2022-clang: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
build_type: [Debug, Release] | ||
|
||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- run: cmake -E make_directory build | ||
|
||
- shell: bash | ||
working-directory: build/ | ||
run: cmake $GITHUB_WORKSPACE -G "Visual Studio 17 2022" -T ClangCL | ||
|
||
- working-directory: build/ | ||
run: cmake --build . --config ${{ matrix.build_type }} | ||
- name: Build project | ||
run: cmake --build ${{ github.workspace }}\build --config ${{ matrix.build_type }} | ||
|
||
- working-directory: build/ | ||
- name: Run tests | ||
working-directory: ${{ github.workspace }}\build | ||
run: ctest -C ${{ matrix.build_type }} --output-on-failure | ||
|
||
vs2019: | ||
windows-clang: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
build_type: [Debug, Release] | ||
os: [windows-2022, windows-2019] | ||
|
||
runs-on: windows-2019 | ||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- run: cmake -E make_directory build | ||
|
||
- shell: bash | ||
working-directory: build/ | ||
run: cmake $GITHUB_WORKSPACE -G "Visual Studio 16 2019" | ||
|
||
- working-directory: build/ | ||
run: cmake --build . --config ${{ matrix.build_type }} | ||
|
||
- working-directory: build/ | ||
run: ctest -C ${{ matrix.build_type }} --output-on-failure | ||
|
||
vs2019-clang: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
build_type: [Debug, Release] | ||
|
||
runs-on: windows-2019 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Configure Visual Studio Environment | ||
uses: ilammy/[email protected] | ||
|
||
- run: cmake -E make_directory build | ||
- name: Install Ninja | ||
uses: seanmiddleditch/gha-setup-ninja@v4 | ||
|
||
- shell: bash | ||
working-directory: build/ | ||
run: cmake $GITHUB_WORKSPACE -G "Visual Studio 16 2019" -T ClangCL | ||
- name: Configure CMake | ||
run: cmake -S ${{ github.workspace }} -B build -G "Ninja" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl | ||
|
||
- working-directory: build/ | ||
run: cmake --build . --config ${{ matrix.build_type }} | ||
- name: Build project | ||
run: cmake --build ${{ github.workspace }}\build --config ${{ matrix.build_type }} | ||
|
||
- working-directory: build/ | ||
- working-directory: ${{ github.workspace }}\build | ||
run: ctest -C ${{ matrix.build_type }} --output-on-failure |
Oops, something went wrong.