Skip to content

Commit

Permalink
GHA: add tarball checks
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Jul 6, 2021
1 parent c4bcd38 commit b028552
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/tarball.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Tarball evaluation checks

This comment has been minimized.

Copy link
@grahamc

grahamc Jul 6, 2021

Member

This should be build not evaluation, and note this will may cause failures on mass rebuilds due to timeouts. I'm hesitant to add red ignorable X's before we require evaluation to pass.

This comment has been minimized.

Copy link
@domenkozar

domenkozar Jul 6, 2021

Author Member

I called it evaluation because the tarball build does a lot of evaluation checks and doesn't build much. Let me know if you still would like to call it build.

If we limit this check to master and release* a timeout would signal that it needs to target staging.


permissions: read-all

on:
pull_request:
push:

jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
swap-size-mb: 12000
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v13
# explicit list of supportedSystems is needed until aarch64-darwin becomes part of the trunk jobset
- run: nix-build pkgs/top-level/release.nix -A tarball --arg supportedSystems '[ "aarch64-darwin" "aarch64-linux" "x86_64-linux" "x86_64-darwin" ]'

0 comments on commit b028552

Please sign in to comment.