chore(ci): build Nix flake

master
yvt 2022-07-02 22:32:11 +09:00
parent ada6a8e739
commit 1cd7214eaa
1 changed files with 14 additions and 0 deletions

View File

@ -67,3 +67,17 @@ jobs:
build-type: RelWithDebInfo
configure-options: -D CMAKE_BUILD_TYPE=RelWithDebInfo -D CMAKE_TOOLCHAIN_FILE=${{ runner.workspace }}/openspades/vcpkg/scripts/buildsystems/vcpkg.cmake -D VCPKG_TARGET_TRIPLET=x64-osx -D CMAKE_OSX_ARCHITECTURES=x86_64
parallel: 8
build-nix:
name: Build (Linux + Nix)
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Nix
uses: cachix/install-nix-action@v17
- name: Build Nix flake
run: nix build