Skip to content

Commit

Permalink
Move Nix builds to separate file
Browse files Browse the repository at this point in the history
Signed-off-by: Wiktor Kwapisiewicz <[email protected]>
  • Loading branch information
wiktor-k committed Nov 20, 2023
1 parent 960d231 commit 5d46a08
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,6 @@ jobs:
run: |
docker buildx build --platform linux/amd64 --file ci/e2e.dockerfile .
nix-build:
name: Run nix-build
runs-on: ${{ matrix.os }}
continue-on-error: true
strategy:
matrix:
include:
- os: ubuntu-latest
- os: macos-latest
steps:
- uses: actions/checkout@v3
- uses: nixbuild/nix-quick-install-action@v26
- run: nix flake check
- run: nix build .#pysequoia

build:
name: Build and check
strategy:
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Nix

on: [push, pull_request]

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
check-and-build:
name: Run nix flake check and nix build
runs-on: ${{ matrix.os }}
continue-on-error: true
strategy:
matrix:
include:
- os: ubuntu-latest
- os: macos-latest
steps:
- uses: actions/checkout@v3
- uses: nixbuild/nix-quick-install-action@v26
- run: nix flake check
- run: nix build .#pysequoia

0 comments on commit 5d46a08

Please sign in to comment.