mirror of
https://github.com/red0124/ssp.git
synced 2025-01-23 04:55:20 +01:00
Update ci workflows
This commit is contained in:
parent
236b5da9c2
commit
07373ea043
7
.github/workflows/ubuntu-latest-clang.yml
vendored
7
.github/workflows/ubuntu-latest-clang.yml
vendored
@ -25,10 +25,11 @@ jobs:
|
||||
matrix:
|
||||
version:
|
||||
['latest', '16', '15', '14', '13', '12', '11', '10', '9', '8', '7']
|
||||
type: [Release, Debug]
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
name: Clang ${{ matrix.version }}
|
||||
name: Clang "${{matrix.version}}:${{matrix.type}}"
|
||||
|
||||
container:
|
||||
image: teeks99/clang-ubuntu:${{matrix.version}}
|
||||
@ -51,7 +52,9 @@ jobs:
|
||||
script/ci_install_deps.sh
|
||||
|
||||
- name: Configure
|
||||
run: cmake -S test -B build -D CMAKE_BUILD_TYPE=Debug
|
||||
run: >-
|
||||
cmake -DCMAKE_CXX_COMPILER=clang++ -S test -B build
|
||||
-DCMAKE_BUILD_TYPE=${{matrix.type}}
|
||||
|
||||
- name: Build
|
||||
run: cmake --build build -j ${{steps.cores.outputs.count}}
|
||||
|
5
.github/workflows/ubuntu-latest-gcc.yml
vendored
5
.github/workflows/ubuntu-latest-gcc.yml
vendored
@ -24,10 +24,11 @@ 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}}
|
||||
@ -47,7 +48,7 @@ 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}}
|
||||
|
10
.github/workflows/ubuntu-latest-icc.yml
vendored
10
.github/workflows/ubuntu-latest-icc.yml
vendored
@ -16,9 +16,9 @@ on:
|
||||
- bugfix/**
|
||||
|
||||
env:
|
||||
LINUX_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/irc_nas/17431/l_BaseKit_p_2021.1.0.2659_offline.sh
|
||||
LINUX_HPCKIT_URL:
|
||||
https://registrationcenter-download.intel.com/akdlm/irc_nas/17427/l_HPCKit_p_2021.1.0.2684_offline.sh
|
||||
URL_BASE: https://registrationcenter-download.intel.com/akdlm/irc_nas/17431
|
||||
LINUX_BASEKIT_URL: ${URL_BASE}/l_BaseKit_p_2021.1.0.2659_offline.sh
|
||||
LINUX_HPCKIT_URL: ${URL_BASE}/l_HPCKit_p_2021.1.0.2684_offline.sh
|
||||
|
||||
jobs:
|
||||
icc_tests:
|
||||
@ -27,6 +27,7 @@ jobs:
|
||||
! contains(toJSON(github.event.commits.*.message), '[skip github]')
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
@ -50,7 +51,8 @@ jobs:
|
||||
compiler-${{hashFiles('**/scripts/cache_exclude_linux.sh')}}
|
||||
|
||||
- name: Install icc
|
||||
run: script/ci_install_icc.sh $LINUX_HPCKIT_URL $LINUX_CPP_COMPONENTS_WEB
|
||||
run: >-
|
||||
script/ci_install_icc.sh $LINUX_HPCKIT_URL $LINUX_CPP_COMPONENTS_WEB
|
||||
|
||||
- name: CMake
|
||||
run: echo "/host_usr_local/bin" >> $GITHUB_PATH
|
||||
|
1
.github/workflows/win-msys2-clang.yml
vendored
1
.github/workflows/win-msys2-clang.yml
vendored
@ -51,6 +51,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- uses: msys2/setup-msys2@v2
|
||||
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user