Skip to content

Commit

Permalink
try hack up LUA_CPATH for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Razish committed Oct 13, 2023
1 parent 608e11c commit e7d99b6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,9 @@ jobs:
- name: Package
if: ${{ matrix.build_type == 'Release' }}
working-directory: ${{ github.workspace }}
shell: cmd
shell: pwsh
run: |
$env:LUA_CPATH="$env:USERPROFILE\AppData\Roaming\LuaRocks\lib\lua\5.4\?.dll"
lua package.lua
7z a -tzip -y japp-windows-${{ matrix.arch }}-${{ matrix.build_type }}.zip *.pk3
Expand All @@ -82,6 +83,7 @@ jobs:

ubuntu:
name: Ubuntu ${{ matrix.arch }} ${{ matrix.build_type }}
if: ${{ false }} # disable for now
runs-on: ubuntu-22.04
strategy:
fail-fast: false
Expand Down Expand Up @@ -136,6 +138,7 @@ jobs:

macos:
name: macOS ${{ matrix.arch }} ${{ matrix.build_type }}
if: ${{ false }} # disable for now
runs-on: macos-12
strategy:
fail-fast: false
Expand Down

0 comments on commit e7d99b6

Please sign in to comment.