aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/test.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/test.yml')
-rw-r--r--.github/workflows/test.yml12
1 files changed, 10 insertions, 2 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 59de7c8..76d9ecf 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -11,13 +11,21 @@ jobs:
env:
CC: ${{ matrix.CC }}
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v6
with:
submodules: true
- name: Setup pari
run: |
sudo apt-get update
sudo apt-get install -y libpari-dev pari-gp pari-seadata meson ninja-build
+ - name: Build
+ run: |
+ make
+ make clean
+ make STATIC=1
+ make clean
+ make DEBUG=1
+ make clean
- name: Test
run: |
TEST=1 make unittest
@@ -26,7 +34,7 @@ jobs:
run: |
cd src && find . -name "*.gcda" -exec gcov -pb "{}" +;
- name: Code coverage upload
- uses: codecov/codecov-action@v4
+ uses: codecov/codecov-action@v5
if: ${{ matrix.CC == 'gcc' }}
with:
env_vars: CC