ssp/.github/workflows/single-header.yml

45 lines
877 B
YAML
Raw Normal View History

2023-08-07 17:28:53 +02:00
name: single-header-ci
on:
push:
branches:
- master
- feature/**
- improvement/**
- bugfix/**
pull_request:
branches:
- master
- feature/**
- improvement/**
- bugfix/**
jobs:
2023-08-07 17:34:28 +02:00
single_header_tests:
2023-08-07 17:45:03 +02:00
#if: >-
# ! contains(toJSON(github.event.commits.*.message), '[skip ci]') &&
# ! contains(toJSON(github.event.commits.*.message), '[skip github]')
2023-08-07 17:28:53 +02:00
runs-on: ubuntu-latest
name: "Single Header Test"
2023-08-07 17:40:14 +02:00
2023-08-07 17:28:53 +02:00
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
- name: Single header update check
run: script/single_header_generator.py