Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/ci_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,9 @@ jobs:
run: .github/workflows/scripts/build-dependencies-macos.sh
- name: Run build script
run: |
sccache --start-server
python3 scripts/build.py --skip-check-code-style --config ${{ matrix.config.type }} --cmake-extra "CMAKE_PREFIX_PATH=$HOME/deps" --cmake-extra CMAKE_OSX_DEPLOYMENT_TARGET=13.3 --parallel 0 --test-apps
sccache --show-stats
env:
SCCACHE_GHA_ENABLED: on
SCCACHE_CACHE_MULTIARCH: on
Expand All @@ -273,7 +275,7 @@ jobs:
cd $WORKING_PATH
curl https://sdk.lunarg.com/sdk/download/1.4.304.0/mac/vulkansdk-macos-1.4.304.0.zip -o ./vulkan-sdk.zip
unzip ./vulkan-sdk.zip -d ./vulkan-sdk
sudo ./vulkan-sdk/InstallVulkan.app/Contents/MacOS/InstallVulkan --root $(pwd)/VulkanSDK/1.3.304.0 --accept-licenses --default-answer --confirm-command install
sudo ./vulkan-sdk/InstallVulkan.app/Contents/MacOS/InstallVulkan --root $(pwd)/VulkanSDK/1.4.304.0 --accept-licenses --default-answer --confirm-command install
sudo dscl . -create /Users/test
sudo dscl . append /Groups/staff GroupMembership test
sudo dscl . -create /Users/test UserShell /bin/bash
Expand All @@ -284,7 +286,7 @@ jobs:
sudo mkdir -p /Users/test
sudo chown -R test:staff /Users/test
sudo chmod -R g+w .
sudo su - test -c "cd $WORKING_PATH && VULKAN_LIBRARY_PATH=$(pwd)/VulkanSDK/1.3.304.0/macOS/lib/libvulkan.dylib ./run-tests_macos.sh"
sudo su - test -c "cd $WORKING_PATH && VULKAN_LIBRARY_PATH=$(pwd)/VulkanSDK/1.4.304.0/macOS/lib/libvulkan.dylib ./run-tests_macos.sh"
- name: Upload test failure artifacts
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
if: ${{ failure() && steps.test_apps.conclusion == 'failure' }}
Expand Down
Loading