Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack-Ji committed Jan 2, 2025
1 parent cecdbd7 commit a69c2cc
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/linux_cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
uses: actions/checkout@v3
- name: Install Zig
uses: mlugg/setup-zig@v1
with:
version: master
- name: Build examples
run: zig build -Dtarget=${{matrix.target}} -Dskip=particle_life examples

2 changes: 2 additions & 0 deletions .github/workflows/linux_native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
uses: actions/checkout@v3
- name: Install Zig
uses: mlugg/setup-zig@v1
with:
version: master
- name: Install sdl2
run: |
sudo apt-get update
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/macos_native.bak
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
uses: actions/checkout@v3
- name: Install Zig
uses: mlugg/setup-zig@v1
with:
version: master
- name: Install sdl2
run: brew install sdl2
- name: Build and run tests
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/windows_cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
uses: actions/checkout@v3
- name: Install Zig
uses: mlugg/setup-zig@v1
with:
version: master
- name: Download SDL2 (MinGW)
uses: carlosperate/[email protected]
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/windows_native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
uses: actions/checkout@v3
- name: Install Zig
uses: mlugg/setup-zig@v1
with:
version: master
- name: Install VisualStudio (x64)
if: ${{ matrix.target == 'x86_64-windows-msvc' }}
uses: ilammy/msvc-dev-cmd@v1
Expand Down

0 comments on commit a69c2cc

Please sign in to comment.