mirror of
https://github.com/red0124/ssp.git
synced 2025-12-15 14:19:56 +01:00
Update ci workflows
This commit is contained in:
11
.github/workflows/ubuntu-latest-gcc.yml
vendored
11
.github/workflows/ubuntu-latest-gcc.yml
vendored
@@ -24,13 +24,14 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
version: ['latest', '13', '12', '11', '10', '9', '8']
|
||||
type: [Release, Debug]
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
name: GCC ${{ matrix.version }}
|
||||
name: GCC "${{matrix.version}}:${{matrix.type}}"
|
||||
|
||||
container:
|
||||
image: gcc:${{ matrix.version }}
|
||||
image: gcc:${{matrix.version}}
|
||||
|
||||
options: -v /usr/local:/host_usr_local
|
||||
|
||||
@@ -47,11 +48,11 @@ jobs:
|
||||
run: script/ci_install_deps.sh
|
||||
|
||||
- name: Configure
|
||||
run: cmake -S test -B build -D CMAKE_BUILD_TYPE=Debug
|
||||
run: cmake -S test -B build -D CMAKE_BUILD_TYPE=${{matrix.type}}
|
||||
|
||||
- name: Build
|
||||
run: cmake --build build -j ${{ steps.cores.outputs.count }}
|
||||
run: cmake --build build -j ${{steps.cores.outputs.count}}
|
||||
|
||||
- name: Run
|
||||
working-directory: build
|
||||
run: ctest --output-on-failure -j ${{ steps.cores.outputs.count }}
|
||||
run: ctest --output-on-failure -j ${{steps.cores.outputs.count}}
|
||||
|
||||
Reference in New Issue
Block a user