File tree Expand file tree Collapse file tree 2 files changed +22
-4
lines changed Expand file tree Collapse file tree 2 files changed +22
-4
lines changed Original file line number Diff line number Diff line change 6
6
branches : [ "main" ]
7
7
8
8
jobs :
9
- build :
9
+ run :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- uses : actions/checkout@v4
13
-
13
+
14
14
- name : Install Zig
15
15
run : |
16
16
wget https://ziglang.org/download/0.13.0/zig-linux-x86_64-0.13.0.tar.xz
17
17
tar -xf zig-linux-x86_64-0.13.0.tar.xz
18
18
echo "$(pwd)/zig-linux-x86_64-0.13.0" >> $GITHUB_PATH
19
-
19
+
20
20
- name : Verify Zig Installation
21
21
run : zig version
22
-
22
+
23
+ - name : Run Zig
24
+ run : |
25
+ chmod +x run_all.sh
26
+ ./run_all.sh
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ for dir in * /; do
4
+ echo -e " \n\n--------[ $dir ]--------"
5
+
6
+ cd " $dir " || continue
7
+
8
+ for file in * .zig; do
9
+ echo -e " \n\nRun: $file "
10
+ zig run " $file "
11
+ done
12
+
13
+ cd ..
14
+ done
You can’t perform that action at this time.
0 commit comments