Skip to content

Commit

Permalink
Build packages on different jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
sestrella committed Nov 1, 2023
1 parent fa64306 commit 92f9cee
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,17 @@ jobs:
strategy:
matrix:
os:
- macos-latest
# - macos-latest
- ubuntu-latest
packages:
- name: terraform-1_6_2
allow_unfree: 1
- name: terraform-1_6_1
allow_unfree: 1
- name: terraform-1_6_0
allow_unfree: 1
- name: terraform-1_5_7
allow_unfree: 0

runs-on: ${{ matrix.os }}
steps:
Expand All @@ -22,6 +31,6 @@ jobs:
with:
name: nixpkgs-terraform
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- run: nix flake check --impure
- run: nix build --impure .#${{ matrix.package.name }}
env:
NIXPKGS_ALLOW_UNFREE: 1
NIXPKGS_ALLOW_UNFREE: ${{ matrix.package.allow_unfree }}

0 comments on commit 92f9cee

Please sign in to comment.