Commit 4551dac 1 parent 42284c7 commit 4551dac Copy full SHA for 4551dac
File tree 2 files changed +12
-7
lines changed
2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -10,13 +10,14 @@ jobs:
10
10
- uses : goto-bus-stop/setup-zig@v2
11
11
with :
12
12
version : 0.13.0
13
- - name : prepare-linux
14
- if : runner.os == 'Linux'
13
+ - name : install-dependencies
15
14
run : |
16
15
sudo apt-get update
17
16
sudo apt-get install libglu1-mesa-dev mesa-common-dev xorg-dev libasound-dev libsdl2-dev
18
- - name : build-native
17
+ - name : build-native-SDL2
19
18
run : zig build --summary all
19
+ - name : build-native-sokol
20
+ run : zig build -Dplatform=sokol --summary all
20
21
- name : build-web
21
22
run : zig build --summary all -Dtarget=wasm32-emscripten
22
23
@@ -27,12 +28,13 @@ jobs:
27
28
- uses : goto-bus-stop/setup-zig@v2
28
29
with :
29
30
version : 0.13.0
30
- - name : prepare-macOS
31
- if : runner.os == 'macOS'
31
+ - name : install-dependencies
32
32
run : |
33
33
brew install sdl2
34
- - name : build-native
34
+ - name : build-native-SDL2
35
35
run : zig build --summary all
36
+ - name : build-native-sokol
37
+ run : zig build -Dplatform=sokol --summary all
36
38
- name : build-web
37
39
run : zig build --summary all -Dtarget=wasm32-emscripten
38
40
78
80
}
79
81
}
80
82
write-mode : overwrite
81
- - name : build-native
83
+ - name : build-native-SDL2
82
84
run : zig build -Dtarget=${{matrix.target}} --summary all
85
+ - name : build-native-sokol
86
+ run : zig build -Dtarget=${{matrix.target}} -Dplatform=sokol --summary all
83
87
- name : build-web
84
88
run : zig build --summary all -Dtarget=wasm32-emscripten
Original file line number Diff line number Diff line change
1
+ [ ![ build] ( https://github.com/scemino/z_impact/actions/workflows/main.yml/badge.svg )] ( https://github.com/scemino/z_impact/actions/workflows/main.yml )
1
2
2
3
███████╗ ██╗███╗ ███╗██████╗ █████╗ ██████╗████████╗
3
4
╚══▓▓▓╔╝ ▓▓║▓▓▓▓╗ ▓▓▓▓║▓▓╔══▓▓╗▓▓╔══▓▓╗▓▓╔════╝╚══▓▓╔══╝
You can’t perform that action at this time.
0 commit comments