File tree Expand file tree Collapse file tree 4 files changed +3
-19
lines changed
Expand file tree Collapse file tree 4 files changed +3
-19
lines changed Original file line number Diff line number Diff line change 2424 uses : actions/download-artifact@v4
2525 with :
2626 name : Build-linux-${{ inputs.configuration }}
27- path : Result.Linux.x64.${{ inputs.configuration }}
2827
2928 - name : Update access permission of ZEngineTests
30- run : chmod +x ./Result.Linux.x64.${{ inputs.configuration }}/ tests/ZEngineTests
29+ run : chmod +x ./tests/ZEngineTests
3130
3231 - name : Run Tests
3332 env :
Original file line number Diff line number Diff line change 2727 path : Result.Darwin.${{inputs.architecture}}.${{ inputs.configuration }}
2828
2929 - name : Update access permission of ZEngineTests
30- run : chmod +x ./Result.Darwin.${{inputs.architecture}}.${{ inputs.configuration }}/ tests/ZEngineTests
30+ run : chmod +x ./tests/ZEngineTests
3131
3232 - name : Run Tests
3333 env :
Original file line number Diff line number Diff line change 2020 - name : Download All Artifacts
2121 uses : actions/download-artifact@v4
2222 with :
23- path : Result.Windows.x64.MultiConfig
2423 name : Build-Windows-x64-${{ inputs.configuration }}
2524
2625 - name : Run Tests
Original file line number Diff line number Diff line change @@ -63,21 +63,7 @@ function RunTests {
6363 [string ]$Configuration
6464 )
6565
66- [string ]$testExecutablePath = " "
67- switch ($SystemName ) {
68- " Windows" {
69- $testExecutablePath = Join-Path $OutputBuildDirectory - ChildPath " tests/ZEngineTests.exe" )
70- }
71- " Darwin" {
72- $testExecutablePath = Join-Path $OutputBuildDirectory - ChildPath " tests/ZEngineTests"
73- }
74- " Linux" {
75- $testExecutablePath = Join-Path $OutputBuildDirectory - ChildPath " tests/ZEngineTests"
76- }
77- Default {
78- throw ' This system is not supported'
79- }
80- }
66+ [string ]$testExecutablePath = " tests/ZEngineTests"
8167
8268 # Check if the executable exists
8369 if (Test-Path $testExecutablePath ) {
You can’t perform that action at this time.
0 commit comments