forked from crillab/d4v2
-
Notifications
You must be signed in to change notification settings - Fork 3
49 lines (47 loc) · 1.19 KB
/
CI.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: CI
on:
- push
jobs:
Build:
strategy:
fail-fast: false
matrix:
target:
- os: linux
runner: ubuntu-latest
triple: x86_64-unknown-linux-gnu
- os: macos
runner: macos-13
triple: x86_64-apple-darwin
- os: macos
runner: macos-latest
triple: aarch64-apple-darwin
# compiler:
# - cc: gcc
# cxx: g++
# - cc: clang
# cxx: clang++
# solver:
# - minisat
# - glucose
# exclude:
# - target: { os: macos }
# compiler: { cc: gcc }
runs-on: ${{ matrix.target.runner }}
# env:
# CC: ${{ matrix.compiler.cc }}
# CXX: ${{ matrix.compiler.cxx }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Nix setup
uses: DeterminateSystems/nix-installer-action@v10
- name: Nix cache setup
uses: DeterminateSystems/magic-nix-cache-action@v4
- name: Build
run: nix build .#bundled
- name: Upload
uses: actions/upload-artifact@v4
with:
name: d4-${{ matrix.target.triple }}
path: result