mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 15:14:08 +00:00
Update flake.nix and GH workflows for zig 0.14.0
This commit is contained in:
parent
a2591bf771
commit
43542acd36
3 changed files with 7 additions and 22 deletions
6
.github/workflows/build-current-zig.yml
vendored
6
.github/workflows/build-current-zig.yml
vendored
|
@ -18,14 +18,14 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- uses: goto-bus-stop/setup-zig@v2
|
||||
with:
|
||||
version: 0.13.0
|
||||
version: 0.14.0
|
||||
- name: Check zig version
|
||||
run: zig version
|
||||
- name: Build all examples
|
||||
run: zig build all
|
||||
# - name: Run all tests
|
||||
# run: zig build test
|
||||
# Run tests separately so we can see more clearly which one fails
|
||||
# Also, the test runner tries to run tests concurrently, which causes
|
||||
# conflicts when port numbers are re-used in the tests
|
||||
- name: Run mustache tests
|
||||
run: zig build test-mustache
|
||||
- name: Run httpparams tests
|
||||
|
|
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
|
@ -25,15 +25,6 @@ jobs:
|
|||
run: |
|
||||
echo "::set-output name=version::${GITHUB_REF#refs/tags/}"
|
||||
|
||||
# we don't build pkghash, we provide it in ./tools
|
||||
# - uses: goto-bus-stop/setup-zig@v2
|
||||
# with:
|
||||
# version: master
|
||||
# - name: Check zig version
|
||||
# run: zig version
|
||||
# - name: Build pkghash tool
|
||||
# run: zig build pkghash
|
||||
|
||||
- name: Generate release notes
|
||||
id: release_notes
|
||||
run: |
|
||||
|
|
|
@ -9,10 +9,6 @@
|
|||
# required for latest zig
|
||||
zig.url = "github:mitchellh/zig-overlay";
|
||||
|
||||
# required for latest neovim
|
||||
# neovim-flake.url = "github:neovim/neovim?dir=contrib";
|
||||
# neovim-flake.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
# Used for shell.nix
|
||||
flake-compat = {
|
||||
url = github:edolstra/flake-compat;
|
||||
|
@ -30,7 +26,6 @@
|
|||
# Other overlays
|
||||
(final: prev: {
|
||||
zigpkgs = inputs.zig.packages.${prev.system};
|
||||
# neovim-nightly-pkgs = inputs.neovim-flake.packages.${prev.system};
|
||||
})
|
||||
];
|
||||
|
||||
|
@ -43,8 +38,7 @@
|
|||
in rec {
|
||||
devShells.default = pkgs.mkShell {
|
||||
nativeBuildInputs = with pkgs; [
|
||||
# neovim-nightly-pkgs.neovim
|
||||
zigpkgs."0.13.0"
|
||||
zigpkgs."0.14.0"
|
||||
bat
|
||||
wrk
|
||||
python3
|
||||
|
|
Loading…
Add table
Reference in a new issue