Skip to content

Update all to use cmake #5

Update all to use cmake

Update all to use cmake #5

Workflow file for this run

name: build
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "*" ]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-14, ubuntu-24.04-arm, macos-15-intel]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up ccache
uses: hendrikmuhs/ccache-action@v1
with:
key: ${{ matrix.os }}
- name: Configure
run: CXXFLAGS=-fPIC CXX="ccache c++" ./configure
- name: Build
run: make -j8
- name: Smoke test
run: build/cadical --help
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: cadical-libs-${{ matrix.os }}
path: |
build/libcadical.a
build/libcadical.so