make optional and box more std like #249
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: CI | |
permissions: | |
actions: write | |
contents: read | |
'on': | |
pull_request: | |
push: | |
branches: | |
- master | |
env: | |
UBSAN_OPTIONS: print_stacktrace=1 | |
jobs: | |
posix: | |
strategy: | |
fail-fast: false | |
name: 'format' | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
- name: Checkout the code | |
uses: actions/checkout@v2 | |
- name: Install clang-format | |
run: | | |
sudo make -f scripts/ci_ubuntu.make install-compiler compiler=clang version=19 | |
- name: Format | |
run: > | |
sudo make | |
-f scripts/ci_ubuntu.make | |
format | |
- name: Check if all files are committed to git | |
run: > | |
sudo make | |
-f scripts/ci_ubuntu.make | |
check-git-status |