Delete assert of exitcode in TestManager (#158) #395
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: Build openSUSE | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
CI: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
llvm: [15, 16, 17, 18, 19] | |
build-type: [DEBUG] | |
include: | |
- llvm: 19 | |
build-type: ASAN | |
- llvm: 19 | |
build-type: UBSAN | |
- llmv: 19 | |
build-type: RelWithDebInfo | |
extra-flags: -flto=auto | |
- llmv: 19 | |
build-type: RelWithDebInfo | |
env: CC=clang CXX=clang++ | |
fail-fast: false | |
container: | |
image: opensuse/tumbleweed | |
steps: | |
- run: zypper -n install | |
binutils clang${{ matrix.llvm }}-devel cmake flex gcc-c++ llvm${{ matrix.llvm }}-devel | |
python3-Pebble python3-pytest unifdef python3-psutil curl git python3-chardet findutils | |
sudo wget python3-pip | |
- run: zypper -n install sqlite-devel python3 | |
- run: pip install --break-system-packages pytest-cov | |
- uses: rui314/setup-mold@v1 | |
- run: ld --version | |
- run: nproc | |
- uses: actions/checkout@v4 | |
- name: build | |
run: | | |
mkdir objdir | |
cd objdir | |
${{ matrix.env }} cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -DCMAKE_CXX_FLAGS=${{ matrix.extra-flags }} | |
make -j`nproc` VERBOSE=1 | |
- name: test | |
run: pytest | |
working-directory: objdir | |
ruff: | |
runs-on: ubuntu-latest | |
container: | |
image: opensuse/tumbleweed | |
steps: | |
- run: zypper -n install python3-pip | |
- uses: actions/checkout@v4 | |
- run: pip install --break-system-packages ruff | |
- run: ruff check | |
- run: ruff format --diff |