Skip to content

Commit

Permalink
ci: Move nix build to extra-builds.yml
Browse files Browse the repository at this point in the history
Skip duplicate actions on nix build.
  • Loading branch information
KrystalDelusion committed May 23, 2024
1 parent c71262f commit 1aae0bc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/extra-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,17 @@ jobs:
END
make -C build -f ../Makefile CXX=clang -j$(nproc)
nix-build:
name: "Build nix flake"
needs: pre_job
if: needs.pre_job.outputs.should_skip != 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: cachix/install-nix-action@v26
with:
install_url: https://releases.nixos.org/nix/nix-2.18.1/install
- run: nix build .?submodules=1
15 changes: 0 additions & 15 deletions .github/workflows/nix-github-actions.yml

This file was deleted.

0 comments on commit 1aae0bc

Please sign in to comment.