Make common non-member functions inline, remove unreachable line from… #101
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: single-header-ci | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
- feature/** | |
- improvement/** | |
- bugfix/** | |
pull_request: | |
branches: | |
- master | |
- feature/** | |
- improvement/** | |
- bugfix/** | |
jobs: | |
single_header_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 | |
- name: Single header update check | |
run: | | |
script/single_header_generator.py > tmp.hpp | |
diff ssp.hpp tmp.hpp | |
- name: Single header compile check | |
run: ./test/test_single_header.sh |