Skip to content

Commit

Permalink
fix(ci): native is native
Browse files Browse the repository at this point in the history
  • Loading branch information
robbielyman authored Dec 28, 2024
1 parent 919a5de commit 35ea912
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@ jobs:
- uses: mlugg/setup-zig@v1
with:
version: 0.13.0
- name: check out Lua
if: startsWith(matrix.os, 'windows') != true
uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: robbielyman/lua
path: .lua
- name: compile Lua
run: cd .lua && zig build -Dshared=true -Dxwin_path="C:\Program Files (x86)\Windows Kits\10" --prefix .
if: startsWith(matrix.os, 'windows') != true
run: cd .lua && zig build -Dshared=true --prefix .
- name: compile Lua (windows)
if: startsWith(matrix.os, 'windows')
run: cd .lua && zig build -Dshared=true -Dtarget=native-native-msvc --prefix .
- uses: luarocks/gh-actions-luarocks@v5
- run: luarocks install busted
- run: zig build test
Expand Down

0 comments on commit 35ea912

Please sign in to comment.