Skip to content

Documentation: Update README.md #49

Documentation: Update README.md

Documentation: Update README.md #49

Workflow file for this run

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