Skip to content

Commit

Permalink
Revert "workflows: use Nix in CI."
Browse files Browse the repository at this point in the history
This reverts commit 16a1152.
  • Loading branch information
kivikakk committed Apr 28, 2024
1 parent 83a99f6 commit 813102d
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 117 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
- name: Run the Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@v2
- run: nix build '.?submodules=1#specs' -L
- uses: goto-bus-stop/setup-zig@v1
with:
version: 0.11.0
- run: make spec
38 changes: 23 additions & 15 deletions .github/workflows/zig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,29 @@ on:
pull_request:

jobs:
test-nix:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
test-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: goto-bus-stop/setup-zig@v1
with:
version: 0.11.0
- run: zig build
- run: zig build test
test-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
- name: Run the Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@v2
- run: nix build '.?submodules=1' -L
- uses: goto-bus-stop/setup-zig@v1
with:
version: 0.11.0
- run: brew install pcre
- run: zig build
- run: zig build test
test-windows:
runs-on: windows-latest
steps:
Expand All @@ -39,8 +48,7 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
- name: Run the Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@v2
- run: nix develop --command zig fmt --check src/*.zig
- uses: goto-bus-stop/setup-zig@v1
with:
version: 0.11.0
- run: zig fmt --check src/*.zig
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
/zig-*
koino.code-workspace
/result*
58 changes: 0 additions & 58 deletions flake.lock

This file was deleted.

38 changes: 0 additions & 38 deletions flake.nix

This file was deleted.

0 comments on commit 813102d

Please sign in to comment.