Skip to content

Commit

Permalink
Move vulkan install to test dir for failure packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
beau-lunarg committed Jan 22, 2025
1 parent c4634ac commit 9d251aa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,13 +209,12 @@ jobs:
- name: Run test app test cases
id: test_apps
run: |
WORKING_PATH="$(pwd)/${{matrix.config.build_dir}}/darwin/universal/output/test"
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
#include <iostream>
ls $(pwd)/VulkanSDK/1.3.304.0/macOS/lib
DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$(pwd)/VulkanSDK/1.3.304.0/macOS/lib
WORKING_PATH="$(pwd)/${{matrix.config.build_dir}}/darwin/universal/output/test"
sudo dscl . -create /Users/test
sudo dscl . append /Groups/staff GroupMembership test
sudo dscl . -create /Users/test UserShell /bin/bash
Expand Down

0 comments on commit 9d251aa

Please sign in to comment.