From c84dc762ed6412c7533a7774c9aa9d6286407804 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Tue, 5 Sep 2023 22:06:42 -0700 Subject: [PATCH] Trying to add ubsan to the CI. --- .github/workflows/linux-ubsan.yml | 34 +++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/linux-ubsan.yml diff --git a/.github/workflows/linux-ubsan.yml b/.github/workflows/linux-ubsan.yml new file mode 100644 index 000000000..1af2483a6 --- /dev/null +++ b/.github/workflows/linux-ubsan.yml @@ -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