-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (34 loc) · 919 Bytes
/
windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Windows
on:
push:
paths:
- "**.zig"
pull_request:
paths:
- "**.zig"
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
test:
runs-on: windows-latest
steps:
- name: Disable CRLF
run: |
git config --global core.autocrlf false
git config --global core.eol lf
- name: Checkout
uses: actions/checkout@v2
- name: Setup Zig
uses: goto-bus-stop/setup-zig@v1
with:
version: master
- name: Download
run: |
mkdir tests/zip
curl -fLo tests/zip/zig-windows.zip https://github.com/ziglang/zig/archive/refs/heads/master.zip
curl -fLo tests/zip/zig-windows-release.zip https://ziglang.org/download/0.9.0/zig-windows-x86_64-0.9.0.zip
- name: Write Zip
run: zig build write_zip
- name: Read Zip
run: zig build read_zip