Skip to content

Commit c84dc76

Browse files
committed
Trying to add ubsan to the CI.
1 parent 9983149 commit c84dc76

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/linux-ubsan.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Linux CI ubsan
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
ubsan:
11+
runs-on: ubuntu-latest
12+
container:
13+
image: ghcr.io/grumpycoders/pcsx-redux-build:latest
14+
env:
15+
TEST_RESULTS: /tmp/test-results
16+
BUILD: ubsan
17+
steps:
18+
- uses: actions/checkout@v3
19+
with:
20+
submodules: recursive
21+
set-safe-directory: true
22+
- uses: n1hility/cancel-previous-runs@v2
23+
with:
24+
token: ${{ secrets.GITHUB_TOKEN }}
25+
- run: |
26+
make -j 2 all pcsx-redux-tests
27+
make -C src/mips/openbios -j 2 BUILD=Release
28+
cp src/mips/openbios/openbios.bin .
29+
make -C src/mips/openbios clean
30+
make -C src/mips/tests -j 2 PCSX_TESTS=true BUILD=Release
31+
cp ./openbios.bin src/mips/openbios/
32+
- name: Test
33+
run: |
34+
xvfb-run ./pcsx-redux-tests

0 commit comments

Comments
 (0)