Skip to content

Commit

Permalink
wip10
Browse files Browse the repository at this point in the history
  • Loading branch information
pfeodrippe committed Jul 23, 2024
1 parent 1fa6a9a commit ef09dba
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@ jobs:
- uses: actions/checkout@v4
- uses: ilammy/msvc-dev-cmd@v1
- uses: mlugg/setup-zig@v1
- name: Populate submodules
run: |
git submodule update --init --recursive
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Configure CMake
run: cmake -B ${{github.workspace}}/JoltPhysics/Build/VS2022_CL -G "Visual Studio 17 2022" -A x64 JoltPhysics/Build -DBUILD_SHARED_LIBS=Yes
- name: Build
run: |
msbuild JoltPhysics\Build\VS2022_CL\JoltPhysics.sln /property:Configuration=Distribution -m
bash -c "cp JoltPhysics/Build/VS2022_CL/Distribution/Jolt.dll native/joltc_zig.dll"
- name: Prepare java
uses: actions/setup-java@v3
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
[submodule "zig-gamedev"]
path = zig-gamedev
url = https://github.com/zig-gamedev/zig-gamedev.git
[submodule "JoltPhysics"]
path = JoltPhysics
url = https://github.com/jrouwe/JoltPhysics.git
1 change: 1 addition & 0 deletions JoltPhysics
Submodule JoltPhysics added at a8fbf8
2 changes: 0 additions & 2 deletions bin/jextract-libs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ VYBE_GCC="${VYBE_GCC:-$__VYBE_DEFAULT_GCC_ARGS}"
rm -rf src-java/org/vybe/jolt
rm -rf src-java/org/vybe/flecs
rm -rf src-java/org/vybe/raylib
rm native/*
touch native/keep

# -- Jolt Physics
echo "Extracting Jolt Physics"
Expand Down

0 comments on commit ef09dba

Please sign in to comment.