Skip to content

Commit 4fdb96e

Browse files
committed
Update GitHub Actions workflow to use CMake build system
1 parent 9343a42 commit 4fdb96e

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,17 @@ jobs:
2121
key: ${{ matrix.os }}
2222

2323
- name: Configure
24-
run: CXXFLAGS=-fPIC CXX="ccache c++" ./configure
24+
run: |
25+
cmake -S . -B build \
26+
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
27+
-DCMAKE_BUILD_TYPE=Release
2528
2629
- name: Build
27-
run: make -j8
28-
29-
- name: Smoke test
30-
run: build/cadical --help
30+
run: cmake --build build -j8
3131

3232
- name: Upload artifacts
3333
uses: actions/upload-artifact@v4
3434
with:
3535
name: cadical-libs-${{ matrix.os }}
3636
path: |
3737
build/libcadical.a
38-
build/libcadical.so

0 commit comments

Comments
 (0)