Build both checked and release
This commit is contained in:
23
.github/workflows/build-physx.yml
vendored
23
.github/workflows/build-physx.yml
vendored
@ -14,19 +14,32 @@ jobs:
|
|||||||
#Added: -Wno-alloca and -Wno-anon-enum-enum-conversion
|
#Added: -Wno-alloca and -Wno-anon-enum-enum-conversion
|
||||||
run: git clone https://github.com/bloeys/physx-builder && cp ./physx-builder/macCMakeLists.txt ./PhysX/physx/source/compiler/cmake/mac/CMakeLists.txt
|
run: git clone https://github.com/bloeys/physx-builder && cp ./physx-builder/macCMakeLists.txt ./PhysX/physx/source/compiler/cmake/mac/CMakeLists.txt
|
||||||
|
|
||||||
# - name: Check Cmake
|
- name: Check compiler folder 1
|
||||||
# run: cat ./PhysX/physx/source/compiler/cmake/mac/CMakeLists.txt
|
run: ls -al ./PhysX/physx/compiler/
|
||||||
|
|
||||||
- name: Generate xcode project
|
- name: Generate xcode project
|
||||||
working-directory: ./PhysX/physx
|
working-directory: ./PhysX/physx
|
||||||
run: echo 3 | ./generate_projects.sh
|
run: echo 3 | ./generate_projects.sh
|
||||||
|
|
||||||
|
- name: Check compiler folder 2
|
||||||
|
run: ls -al ./PhysX/physx/compiler/
|
||||||
|
|
||||||
- name: Build PhysX Checked
|
- name: Build PhysX Checked
|
||||||
working-directory: ./PhysX/physx/compiler/mac64
|
working-directory: ./PhysX/physx/compiler/mac64
|
||||||
run: xcodebuild -project PhysXSDK.xcodeproj -alltargets -configuration checked
|
run: xcodebuild -project PhysXSDK.xcodeproj -alltargets -configuration checked
|
||||||
|
|
||||||
- name: Upload libraries to GitHub Actions Artifacts
|
- name: Upload Checked artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: physx-libs-macos-x64
|
name: physx-libs-macos-x64-checked
|
||||||
path: ./PhysX/physx/bin/mac.x86_64/checked/
|
path: ./PhysX/physx/bin/mac.x86_64/checked/
|
||||||
|
|
||||||
|
- name: Build PhysX Release
|
||||||
|
working-directory: ./PhysX/physx/compiler/mac64
|
||||||
|
run: xcodebuild -project PhysXSDK.xcodeproj -alltargets -configuration release
|
||||||
|
|
||||||
|
- name: Upload Release artifacts
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: physx-libs-macos-x64-release
|
||||||
|
path: ./PhysX/physx/bin/mac.x86_64/release/
|
||||||
|
|||||||
Reference in New Issue
Block a user