@@ -20,29 +20,22 @@ jobs:
2020 - name : Checkout repository
2121 uses : actions/checkout@v4
2222
23+ - name : Install Vcpkg
24+ run : git clone --depth=1 https://github.com/Microsoft/vcpkg; bootstrap-vcpkg.bat
25+ shell : pwsh
26+
27+ - name : Install Vulkan
28+ env :
29+ VCPKG_BUILD_TYPE : ${{ inputs.configuration }}
30+ CMAKE_TOOLCHAIN_FILE : " C:/vcpkg/scripts/buildsystems/vcpkg.cmake"
31+ run : vcpkg install vulkan
32+ shell : pwsh
33+
2334 - name : CMake Build
2435 run : .\Scripts\BuildEngine.ps1 -Configurations ${{inputs.configuration}} -RunClangFormat 0
2536 shell : pwsh
2637
27- - name : Publish Build Artifacts
28- uses : actions/upload-artifact@v4
29- with :
30- name : Build-Windows-x64-${{inputs.configuration}}
31- path : |
32- Result.Windows.x64.MultiConfig/Panzerfaust/${{inputs.configuration}}/${{inputs.targetFramework}}/win-x64/publish/
33- Result.Windows.x64.MultiConfig/ZEngine/tests/${{inputs.configuration}}/
34- !Result.Windows.x64.MultiConfig/Panzerfaust/${{inputs.configuration}}/${{inputs.targetFramework}}/**/Microsoft.CodeAnalysis.CSharp.resources.dll
35- !Result.Windows.x64.MultiConfig/Panzerfaust/${{inputs.configuration}}/${{inputs.targetFramework}}/**/Microsoft.CodeAnalysis.CSharp.Scripting.resources.dll
36- !Result.Windows.x64.MultiConfig/Panzerfaust/${{inputs.configuration}}/${{inputs.targetFramework}}/**/Microsoft.CodeAnalysis.resources.dll
37- !Result.Windows.x64.MultiConfig/Panzerfaust/${{inputs.configuration}}/${{inputs.targetFramework}}/**/Microsoft.CodeAnalysis.Scripting.resources.dll
38- !Result.Windows.x64.MultiConfig/Panzerfaust/${{inputs.configuration}}/${{inputs.targetFramework}}/**/createdump.exe
38+ - name : Run Tests
39+ shell : pwsh
40+ run : .\Scripts\RunTests.ps1 -Configurations ${{ inputs.configuration }}
3941
40- - name : Publish Vulkan Build Artifacts
41- if : ${{ inputs.configuration == 'Release'}}
42- uses : actions/upload-artifact@v4
43- with :
44- name : Vulkan-build-x64-release
45- path : |
46- Result.Windows.x64.MultiConfig/__externals/Vulkan-Loader/loader/release/vulkan-1.dll
47- Result.Windows.x64.MultiConfig/__externals/Vulkan-Loader/loader/release/vulkan-1.exp
48- Result.Windows.x64.MultiConfig/__externals/Vulkan-Loader/loader/release/vulkan-1.lib
0 commit comments