You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: Build Minimal Example (Zig Previous Stable)
112
-
run: zig build -Dandroid=true --verbose
113
-
working-directory: examples/minimal
101
+
build-nightly:
102
+
name: Build Zig Master (Latest Dev)
103
+
needs: build-stable
104
+
strategy:
105
+
max-parallel: 1
106
+
matrix:
107
+
include:
108
+
- os: "ubuntu-latest"
109
+
- os: "windows-latest"
110
+
- os: "macos-14"# arm64 as per table: https://github.com/actions/runner-images/blob/8a1eeaf6ac70c66f675a04078d1a7222edd42008/README.md#available-images
114
111
115
-
- name: Build SDL2 Example (Zig Previous Stable)
116
-
run: zig build -Dandroid=true --verbose
117
-
working-directory: examples/sdl2
112
+
runs-on: ${{matrix.os}}
113
+
114
+
steps:
115
+
- uses: actions/checkout@v6
118
116
119
-
# "Raylib requires zig version 0.15.1" error occurs
120
-
# - name: Build Raylib Example (Zig Previous Stable)
121
-
# run: zig build -Dandroid=true --verbose
122
-
# working-directory: examples/raylib
117
+
- name: Set up JDK $CI_JAVA_VERSION
118
+
uses: actions/setup-java@v5
119
+
with:
120
+
java-version: '$CI_JAVA_VERSION'
121
+
distribution: 'temurin'
123
122
124
-
#
125
-
# Nightly Zig Builds
126
-
#
123
+
- name: Setup Android SDK
124
+
uses: android-actions/setup-android@v3
125
+
with:
126
+
# 35.0.0 = Android 15
127
+
packages: "$CI_ANDROID_SDK"
127
128
128
129
- name: Setup Zig Nightly
129
130
uses: mlugg/setup-zig@v2
@@ -144,3 +145,46 @@ jobs:
144
145
# - name: Build Raylib Example (Zig Nightly)
145
146
# run: zig build -Dandroid=true --verbose
146
147
# working-directory: examples/raylib
148
+
build-previous:
149
+
name: Build Zig 0.14.0 (Previous Stable Release)
150
+
strategy:
151
+
matrix:
152
+
max-parallel: 1
153
+
include:
154
+
- os: "ubuntu-latest"
155
+
- os: "windows-latest"
156
+
- os: "macos-14"# arm64 as per table: https://github.com/actions/runner-images/blob/8a1eeaf6ac70c66f675a04078d1a7222edd42008/README.md#available-images
157
+
158
+
runs-on: ${{matrix.os}}
159
+
160
+
steps:
161
+
- uses: actions/checkout@v6
162
+
163
+
- name: Set up JDK $CI_JAVA_VERSION
164
+
uses: actions/setup-java@v5
165
+
with:
166
+
java-version: '$CI_JAVA_VERSION'
167
+
distribution: 'temurin'
168
+
169
+
- name: Setup Android SDK
170
+
uses: android-actions/setup-android@v3
171
+
with:
172
+
# 35.0.0 = Android 15
173
+
packages: "$CI_ANDROID_SDK"
174
+
175
+
#
176
+
# Previous Stable Zig Build
177
+
#
178
+
179
+
- name: Setup Zig Previous Stable (0.14.0)
180
+
uses: mlugg/setup-zig@v2
181
+
with:
182
+
version: "0.14.0"
183
+
184
+
- name: Build Minimal Example (Zig Previous Stable)
0 commit comments