Skip to content

Commit

Permalink
Trying to add ubsan to the CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasnoble committed Sep 6, 2023
1 parent 9983149 commit c84dc76
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/linux-ubsan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Linux CI ubsan

on:
push:
branches:
- main
pull_request:

jobs:
ubsan:
runs-on: ubuntu-latest
container:
image: ghcr.io/grumpycoders/pcsx-redux-build:latest
env:
TEST_RESULTS: /tmp/test-results
BUILD: ubsan
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
set-safe-directory: true
- uses: n1hility/cancel-previous-runs@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- run: |
make -j 2 all pcsx-redux-tests
make -C src/mips/openbios -j 2 BUILD=Release
cp src/mips/openbios/openbios.bin .
make -C src/mips/openbios clean
make -C src/mips/tests -j 2 PCSX_TESTS=true BUILD=Release
cp ./openbios.bin src/mips/openbios/
- name: Test
run: |
xvfb-run ./pcsx-redux-tests

0 comments on commit c84dc76

Please sign in to comment.