File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 6565 runs-on : windows-latest
6666
6767 steps :
68+ - name : Setup MSVC dev command prompt
69+ uses : TheMrMilchmann/setup-msvc-dev@v3
70+ with :
71+ arch : x64
72+ toolset : 14.38.33130
73+
74+ - name : Export GitHub Actions cache environment variables
75+ uses : actions/github-script@v6
76+ with :
77+ script : |
78+ core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
79+ core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
80+
6881 - name : Checkout libprojectM Sources
6982 uses : actions/checkout@v3
7083 with :
7386 submodules : recursive
7487
7588 - name : Build/Install libprojectM
89+ env :
90+ VCPKG_BINARY_SOURCES : " clear;x-gha,readwrite"
7691 run : |
7792 mkdir cmake-build-libprojectm
7893 cmake -G "Visual Studio 17 2022" -A "X64" -S "${{ github.workspace }}/projectm" -B "${{ github.workspace }}/cmake-build-libprojectm" -DCMAKE_TOOLCHAIN_FILE="${Env:VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=x64-windows-static -DCMAKE_INSTALL_PREFIX="${{ github.workspace }}/install-libprojectm" -DCMAKE_MSVC_RUNTIME_LIBRARY="MultiThreaded$<$<CONFIG:Debug>:Debug>" -DCMAKE_VERBOSE_MAKEFILE=YES -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTING=NO
86101 submodules : recursive
87102
88103 - name : Build projectMSDL
104+ env :
105+ VCPKG_BINARY_SOURCES : " clear;x-gha,readwrite"
89106 run : |
90107 mkdir cmake-build-frontend-sdl2
91108 cmake -G "Visual Studio 17 2022" -A "X64" -S "${{ github.workspace }}/frontend-sdl2" -B "${{ github.workspace }}/cmake-build-frontend-sdl2" -DCMAKE_TOOLCHAIN_FILE="${Env:VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake" -DVCPKG_TARGET_TRIPLET=x64-windows-static -DCMAKE_PREFIX_PATH="${{ github.workspace }}/install-libprojectm" -DCMAKE_INSTALL_PREFIX="${{ github.workspace }}/install-frontend-sdl2" -DCMAKE_MSVC_RUNTIME_LIBRARY="MultiThreaded$<$<CONFIG:Debug>:Debug>" -DCMAKE_VERBOSE_MAKEFILE=YES -DSDL2_LINKAGE=static -DBUILD_TESTING=YES
Original file line number Diff line number Diff line change 11{
22 "$schema" : " https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json" ,
33 "dependencies" : [
4+ " glew" ,
45 " sdl2" ,
56 " poco" ,
67 " freetype"
You can’t perform that action at this time.
0 commit comments