Skip to content

Commit

Permalink
Update to v3 API
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwalisch committed Sep 11, 2023
1 parent 0ddb06e commit d9d8191
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run:
shell: msys2 {0}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: msys2/setup-msys2@v2
with:
update: true
Expand All @@ -29,20 +29,18 @@ jobs:
grep "^int128.*:INTERNAL=1$" CMakeCache.txt
grep "^cpu_supports_popcnt:INTERNAL=1$" CMakeCache.txt
make -j2 VERBOSE=1
# The current MinGW/GCC-12.1 version miscompiles primesieve/primecount,
# many tests fail with an exception thrown.
#- name: CTest (unit tests)
# run: ctest -j2
#- name: primecount --test option
# run: ./primecount --test
- name: CTest (unit tests)
run: ctest -j2
- name: primecount --test option
run: ./primecount --test

linux_gcc:
runs-on: ubuntu-latest
env:
CC: gcc
CXX: g++
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install valgrind
run: |
sudo apt update
Expand Down Expand Up @@ -77,7 +75,7 @@ jobs:
CC: clang
CXX: clang++
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt update
Expand All @@ -97,7 +95,7 @@ jobs:
linux_128bit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Build primecount
run: |
cmake . -DBUILD_TESTS=ON
Expand All @@ -118,7 +116,7 @@ jobs:
CC: gcc
CXX: g++
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
# Fetch all commits & tags
fetch-depth: 0
Expand All @@ -135,7 +133,7 @@ jobs:
CC: clang
CXX: clang++
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
# Fetch all commits & tags
fetch-depth: 0
Expand Down

0 comments on commit d9d8191

Please sign in to comment.