Skip to content

feat: use nix for windows build #68

feat: use nix for windows build

feat: use nix for windows build #68

Workflow file for this run

name: CI
on:
- push
jobs:
Build:
strategy:
fail-fast: false
matrix:
target:
- double: x86_64-linux
flake: bundled
runner: ubuntu-latest
- double: x86_64-darwin
runner: macos-13
flake: bundled
- double: aarch64-darwin
runner: macos-latest
flake: bundled
- double: x86_64-windows
runner: ubuntu-latest
flake: bundled-windows
runs-on: ${{ matrix.target.runner }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Nix
uses: DeterminateSystems/nix-installer-action@v10
- name: Cache
uses: DeterminateSystems/magic-nix-cache-action@v4
- name: Build
run: nix build -L .#${{ matrix.target.flake}}
- name: Upload
uses: actions/upload-artifact@v4
with:
name: d4-${{ matrix.target.double }}
path: result