mirror of
https://github.com/red0124/ssp.git
synced 2025-01-23 13:05:20 +01:00
[skip ci] Add single-header.yml
This commit is contained in:
parent
9d7441b178
commit
d37ec12bb5
45
.github/workflows/single-header.yml
vendored
Normal file
45
.github/workflows/single-header.yml
vendored
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
name: single-header-ci
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- feature/**
|
||||||
|
- improvement/**
|
||||||
|
- bugfix/**
|
||||||
|
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- feature/**
|
||||||
|
- improvement/**
|
||||||
|
- bugfix/**
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
clang_tests:
|
||||||
|
#if: >-
|
||||||
|
#! contains(toJSON(github.event.commits.*.message), '[skip ci]') &&
|
||||||
|
#! contains(toJSON(github.event.commits.*.message), '[skip github]')
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
name: "Single Header Test"
|
||||||
|
}
|
||||||
|
container:
|
||||||
|
image: gcc:latest
|
||||||
|
options: -v /usr/local:/host_usr_local
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
|
- uses: friendlyanon/fetch-core-count@v1
|
||||||
|
id: cores
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y git
|
||||||
|
script/ci_install_deps.sh
|
||||||
|
|
||||||
|
- name: Single header update check
|
||||||
|
run: script/single_header_generator.py
|
4
.github/workflows/ubuntu-latest-clang.yml
vendored
4
.github/workflows/ubuntu-latest-clang.yml
vendored
@ -25,8 +25,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
# cmake clang12 is not able to compile a simple test program.
|
# cmake clang12 is not able to compile a simple test program.
|
||||||
# /usr/bin/ld: cannot find -lunwind
|
# /usr/bin/ld: cannot find -lunwind
|
||||||
version:
|
version: ['latest', '15', '14', '13', '11', '10', '9', '8', '7']
|
||||||
['latest', '16', '15', '14', '13', '11', '10', '9', '8', '7']
|
|
||||||
type: [Release, Debug]
|
type: [Release, Debug]
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -35,7 +34,6 @@ jobs:
|
|||||||
|
|
||||||
container:
|
container:
|
||||||
image: silkeh/clang:${{matrix.version}}
|
image: silkeh/clang:${{matrix.version}}
|
||||||
|
|
||||||
options: -v /usr/local:/host_usr_local
|
options: -v /usr/local:/host_usr_local
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
3
.github/workflows/ubuntu-latest-gcc.yml
vendored
3
.github/workflows/ubuntu-latest-gcc.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
version: ['latest', '13', '12', '11', '10', '9', '8']
|
version: ['latest', '12', '11', '10', '9', '8']
|
||||||
type: [Release, Debug]
|
type: [Release, Debug]
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -32,7 +32,6 @@ jobs:
|
|||||||
|
|
||||||
container:
|
container:
|
||||||
image: gcc:${{matrix.version}}
|
image: gcc:${{matrix.version}}
|
||||||
|
|
||||||
options: -v /usr/local:/host_usr_local
|
options: -v /usr/local:/host_usr_local
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
Reference in New Issue
Block a user