File: Split all String and Vector related functions out of FileDescri… #75
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: Posix | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
UBSAN_OPTIONS: print_stacktrace=1:halt_on_error=1 | |
jobs: | |
build: | |
strategy: | |
matrix: | |
config: [ Debug, Release ] | |
params: [ { os: ubuntu-latest }, | |
{ os: macos-latest } ] | |
runs-on: ${{ matrix.params.os }} | |
timeout-minutes: 8 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: clang-format | |
run: ./SC.sh format check | |
- name: install | |
run: sudo apt install -y liburing-dev | |
if: matrix.params.os == 'ubuntu-latest' | |
- name: configure | |
run: ./SC.sh build configure SCTest ${{ matrix.config }} | |
- name: build | |
run: ./SC.sh build compile SCTest ${{ matrix.config }} | |
- name: test | |
run: ./SC.sh build run SCTest ${{ matrix.config }} | |
# - name: install gdb | |
# run: sudo apt install -y gdb | |
# - name: test in gdb | |
# run: gdb --batch -ex "run" -ex "quit" --args _Build/_Outputs/linux-x86_64-make-gcc-Debug/SCTest | |
# - name: test in lldb | |
# run: lldb -o "run" -o "quit" -- _Build/_Outputs/macOS-x86_64-make-clang-Debug/SCTest |