forked from mirrors/jj
c5cc6bf501
This should nerf some of the impact of the flaky Windows GPG tests right now, which are currently non-deterministically running into hangs, causing a lot of PRs to stall out. 15 minutes was chosen as a good trade-off between "pretty far from our current build times" while also catching obvious bugs and flakes. Signed-off-by: Austin Seipp <aseipp@pobox.com>
22 lines
615 B
YAML
22 lines
615 B
YAML
name: Nix on Linux
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
|
|
permissions: read-all
|
|
|
|
jobs:
|
|
nix:
|
|
runs-on: ubuntu-latest
|
|
name: nix-build
|
|
timeout-minutes: 15 # NOTE (aseipp): keep in-sync with the build.yml timeout limit
|
|
steps:
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: DeterminateSystems/nix-installer-action@cd46bde16ab981b0a7b2dce0574509104543276e
|
|
- uses: DeterminateSystems/magic-nix-cache-action@eeabdb06718ac63a7021c6132129679a8e22d0c7
|
|
- run: nix build --print-build-logs --show-trace
|