Skip to content

Commit

Permalink
Merge pull request #4412 from YosysHQ/krys/skippable_nix
Browse files Browse the repository at this point in the history
ci: Skip duplicate actions on nix build
  • Loading branch information
mmicko authored May 24, 2024
2 parents 98ab829 + d135c0b commit 56c8439
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 56c8439

Please sign in to comment.