mirror of
https://github.com/zigzap/zap.git
synced 2025-10-21 15:44:10 +00:00
attempt to fix zig build
This commit is contained in:
parent
e32a46b735
commit
9002a40e4e
2 changed files with 24 additions and 1 deletions
14
.github/workflows/mastercheck.yml
vendored
14
.github/workflows/mastercheck.yml
vendored
|
@ -22,10 +22,22 @@ jobs:
|
||||||
- uses: goto-bus-stop/setup-zig@v2
|
- uses: goto-bus-stop/setup-zig@v2
|
||||||
with:
|
with:
|
||||||
version: master
|
version: master
|
||||||
|
- uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: '3.10'
|
||||||
|
- name: wget
|
||||||
|
uses: wei/wget@v1
|
||||||
|
with:
|
||||||
|
args: https://github.com/zigzap/facil.io/archive/refs/tags/zap-0.0.8.tar.gz
|
||||||
- name: Check zig version
|
- name: Check zig version
|
||||||
run: zig version
|
run: zig version
|
||||||
|
- name: hack build.zig.zon
|
||||||
|
run: |
|
||||||
|
mv build.zig.zon build.zig.zon.moved && mv build.zig.zon.localhost build.zig.zon && python -m http.server &
|
||||||
|
sleep 3
|
||||||
|
zig build
|
||||||
- name: Build simple endpoint example
|
- name: Build simple endpoint example
|
||||||
run: zig build hello --verbose
|
run: zig build endpoint --verbose
|
||||||
- name: Build authentication tests
|
- name: Build authentication tests
|
||||||
run: zig build test-authentication
|
run: zig build test-authentication
|
||||||
- name: Build http parameter tests
|
- name: Build http parameter tests
|
||||||
|
|
11
build.zig.zon.localhost
Normal file
11
build.zig.zon.localhost
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
.{
|
||||||
|
.name = "zap",
|
||||||
|
.version = "0.0.16",
|
||||||
|
|
||||||
|
.dependencies = .{
|
||||||
|
.@"facil.io" = .{
|
||||||
|
.url = "http://localhost:8000/zap-0.0.8.tar.gz",
|
||||||
|
.hash = "122071fcc675e114941331726291ca1f0c0c33751d992782c6abf1f0f2ddddc5734d",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue