mirror of
https://github.com/red0124/ssp.git
synced 2025-12-15 14:19:56 +01:00
[skip ci] Add single-header.yml
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user