Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
matekelemen committed Aug 5, 2024
1 parent 915c503 commit 3aa760b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/packager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: Install toolchain
run: |
sudo apt update
sudo apt install gcc-13 g++-13
- name: Clone repository
uses: actions/checkout@v4
with:
Expand All @@ -28,6 +32,7 @@ jobs:
run: |
./build.sh \
-t Release \
-o "-DCMAKE_CXX_COMPILER=/usr/bin/g++-13" \
-p
- name: Upload binary artifact
uses: actions/upload-artifact@v3
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/testrunner.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
name: CI

on:
push:
branches:
- master
paths-ignore:
- "*.md"
- "*.gitignore"
- "*.txt"
- "!CMakeLists.txt"
- "*.png"
- "*.mtx"
- "*.mm"
pull_request:
branches:
- master
Expand All @@ -26,6 +37,10 @@ jobs:
sanitizer: [address, thread, undefined]
runs-on: ubuntu-latest
steps:
- name: Install toolchain
run: |
sudo apt update
sudo apt install gcc-13 g++-13
- name: Clone repository
uses: actions/checkout@v4
with:
Expand All @@ -34,6 +49,7 @@ jobs:
run: |
./build.sh \
-t Debug \
-o "-DCMAKE_CXX_COMPILER=/usr/bin/g++-13" \
-o "-DCMAKE_CXX_FLAGS=-fsanitize=${{ matrix.sanitizer }}"
- name: Run tests
run: |
Expand Down

0 comments on commit 3aa760b

Please sign in to comment.