File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,38 +27,27 @@ jobs:
2727 sudo apt update
2828 sudo apt install -y ninja-build cmake clang python3 libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libgl1-mesa-dev
2929
30- - name : Download preset from GitHub
31- run : |
32- curl -L -o linux-cpu-only.xml https://raw.githubusercontent.com/Lumengine/PhysXBuild/main/linux-cpu-only.xml
33-
34- - name : Copy preset into repo
35- run : |
36- cp linux-cpu-only.xml ./physx/buildtools/presets/public/
37-
3830 - name : Generate Projects
3931 run : |
4032 chmod +x ./generate_projects.sh
41- ./generate_projects.sh linux-cpu-only
33+ ./generate_projects.sh linux-clang- cpu-only
4234 working-directory : physx
4335
4436 - name : Build
45- continue-on-error : true
46- run : cmake --build ./compiler/linux-cpu-only --config ${{ matrix.config }}
37+ run : cmake --build ./compiler/linux-clang-cpu-only --config ${{ matrix.config }}
4738 working-directory : physx
4839
4940 - name : Package build output
5041 id : build
5142 run : |
52- mkdir -p output/bin
5343 mkdir -p output/lib
5444 mkdir -p output/include
5545 mkdir -p output/documentation
5646
5747 binArchiveName="PhysX-5.6.0.linux.x86_64.clang.${{ matrix.config }}.tar.gz"
5848 echo "PHYSX_BINARY_ARCHIVE=$binArchiveName" >> "$GITHUB_OUTPUT"
5949
60- # Copy shared libraries
61- cp physx/bin/linux.clang/${{ matrix.config }}/*.so output/bin/ 2>/dev/null || true
50+ # Copy static libraries
6251 cp physx/bin/linux.clang/${{ matrix.config }}/*.a output/lib/ 2>/dev/null || true
6352
6453 # Copy headers and documentation
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments