Skip to content

Commit

Permalink
ci: add a github action to ensure build on clean system
Browse files Browse the repository at this point in the history
  • Loading branch information
sunng87 committed Dec 17, 2024
1 parent ad8a6cb commit 12af5f2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -725,6 +725,17 @@ jobs:
fail_ci_if_error: false
verbose: true

cleanbuild:
if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04-8-cores
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: nix-shell --pure --run "cargo build"

# compat:
# name: Compatibility Test
# needs: build
Expand Down

0 comments on commit 12af5f2

Please sign in to comment.