Skip to content

Commit c710ff5

Browse files
Update build_and_release.yml
1 parent aad5343 commit c710ff5

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/build_and_release.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ jobs:
2121
strategy:
2222
matrix:
2323
os: [ubuntu-latest, macos-latest, windows-latest]
24+
config:
25+
- os: ubuntu-latest
26+
target: x86_64-linux-gnu
27+
- os: macos-latest
28+
target: aarch64-macos-none
29+
- os: windows-latest
30+
target: x86_64-windows-gnu
2431
runs-on: ${{ matrix.os }}
2532
steps:
2633
- uses: actions/checkout@v2
@@ -33,7 +40,7 @@ jobs:
3340
# enableCrossOsArchive: true
3441
- run: zig fetch --save https://github.com/Not-Nik/raylib-zig/archive/devel.tar.gz
3542
name: Get dependencies
36-
- run: zig build -Doptimize=ReleaseSafe -Dtarget=${{ matrix.os }}
43+
- run: zig build -Doptimize=ReleaseSafe -Dtarget=${{ matrix.config.target }}
3744
name: Build binary
3845
- name: Release
3946
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)