-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
20923f1
commit 3b209c5
Showing
3 changed files
with
103 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -129,4 +129,38 @@ jobs: | |
|
||
- name: Test | ||
working-directory: ${{github.workspace}}/build | ||
run: ctest -C ${{matrix.mode}} -j 1 -V | ||
run: ctest -C ${{matrix.mode}} -j 1 -V | ||
|
||
ubuntu_clang7: | ||
strategy: | ||
matrix: | ||
mode: [ Release, Debug ] | ||
|
||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install ninja-build tool | ||
uses: seanmiddleditch/gha-setup-ninja@master | ||
|
||
- name: ccache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
key: ${{ github.job }}-${{ matrix.mode}} | ||
|
||
- name: Configure | ||
run: | | ||
CXX=clang++ CC=clang | ||
cmake -B ${{github.workspace}}/build -G Ninja \ | ||
-DCMAKE_BUILD_TYPE=${{matrix.mode}} \ | ||
-DUSE_CCACHE=${{env.ccache}} \ | ||
-DUSE_CPP_20=OFF \ | ||
- name: Build | ||
run: cmake --build ${{github.workspace}}/build --config ${{matrix.mode}} | ||
|
||
- name: Test | ||
working-directory: ${{github.workspace}}/build | ||
run: ctest -C ${{matrix.mode}} -j 1 -V |
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 |
---|---|---|
|
@@ -126,3 +126,37 @@ jobs: | |
- name: Test | ||
working-directory: ${{github.workspace}}/build | ||
run: ctest -C ${{matrix.mode}} -j 1 -V | ||
|
||
ubuntu_gcc9: | ||
strategy: | ||
matrix: | ||
mode: [ Release, Debug ] | ||
|
||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install ninja-build tool | ||
uses: seanmiddleditch/gha-setup-ninja@master | ||
|
||
- name: ccache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
key: ${{ github.job }}-${{ matrix.mode}} | ||
|
||
- name: Configure | ||
run: | | ||
CXX=g++ CC=gcc | ||
cmake -B ${{github.workspace}}/build -G Ninja \ | ||
-DCMAKE_BUILD_TYPE=${{matrix.mode}} \ | ||
-DUSE_CCACHE=${{env.ccache}} \ | ||
-DUSE_CPP_20=OFF\ | ||
- name: Build | ||
run: cmake --build ${{github.workspace}}/build --config ${{matrix.mode}} | ||
|
||
- name: Test | ||
working-directory: ${{github.workspace}}/build | ||
run: ctest -C ${{matrix.mode}} -j 1 -V |
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 |
---|---|---|
|
@@ -44,3 +44,37 @@ jobs: | |
- name: Test | ||
working-directory: ${{github.workspace}}\build | ||
run: ctest -C ${{matrix.mode}} -j 1 -V | ||
windows_msvc_2019: | ||
runs-on: windows-2019 | ||
|
||
strategy: | ||
matrix: | ||
mode: [ Release ] #[ Release, Debug ] #Debug not support ccache | ||
#https://github.com/ccache/ccache/wiki/MS-Visual-Studio | ||
#https://github.com/ccache/ccache/issues/1040 | ||
arch: [ amd64, x86 ] #[ amd64,x86 ] | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Enable Developer Command Prompt | ||
uses: ilammy/[email protected] | ||
with: | ||
arch: ${{ matrix.arch }} | ||
- name: Install ninja-build tool | ||
uses: seanmiddleditch/gha-setup-ninja@master | ||
with: | ||
version: 1.11.1 | ||
- name: latest ccache | ||
run: choco install ccache | ||
- name: ccache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
key: ${{ github.job }}-${{ matrix.mode}}-arch-${{ matrix.arch}} | ||
- name: Configure CMake | ||
run: cmake -B ${{github.workspace}}\build -G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.mode }} -DENABLE_SSL=${{matrix.ssl}} -DUSE_CCACHE=ON -DUSE_CPP_20=OFF | ||
- name: Build | ||
run: cmake --build ${{github.workspace}}\build | ||
- name: Test | ||
working-directory: ${{github.workspace}}\build | ||
run: ctest -C ${{matrix.mode}} -j 1 -V |