Skip to content

Commit

Permalink
Separators?
Browse files Browse the repository at this point in the history
  • Loading branch information
Rongmario committed Feb 10, 2024
1 parent 2d61989 commit 840684b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on: push
env:
LIB_NAME: libImagineBreaker
PATH_TO_CODE: natives/src/main/c/zone_rong_imaginebreaker_ImagineBreaker
PATH_TO_CODE_WIN: natives\src\main\c\zone_rong_imaginebreaker_ImagineBreaker

jobs:
linux_compile:
Expand Down Expand Up @@ -62,7 +63,7 @@ jobs:
arch: ${{ matrix.arch[0] }}

- name: Compile and Link for ${{ matrix.arch[1] }}
run: cl.exe -LD -I$JAVA_HOME/include -I$JAVA_HOME/include/win32 ${{ env.PATH_TO_CODE }}.c -link -out:output/${{ env.LIB_NAME }}_${{ matrix.arch[1] }}.dll
run: cl.exe -LD -I$JAVA_HOME\include -I$JAVA_HOME\include\win32 ${{ env.PATH_TO_CODE_WIN }}.c -link -out:output\${{ env.LIB_NAME }}_${{ matrix.arch[1] }}.dll

- name: Upload Natives
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 840684b

Please sign in to comment.