File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 vcpkgGitCommitId : " 56bb2411609227288b70117ead2c47585ba07713"
2121 vcpkgDirectory : " ${{ github.workspace }}/vcpkg"
2222
23- - name : Install static GCC runtime
24- run : sudo apt-get update && sudo apt-get install -y libgcc-12-dev
25-
26- - name : Restore vcpkg cache
27- uses : actions/cache/restore@v5
28- with :
29- path : |
30- ${{ github.workspace }}/vcpkg/packages
31- ${{ github.workspace }}/vcpkg/downloads
32- ${{ github.workspace }}/build/vcpkg_installed
33- key : vcpkg-${{ runner.os }}-${{ hashFiles('vcpkg.json') }}
34- restore-keys : |
35- vcpkg-${{ runner.os }}-
36-
3723 - name : Configure CMake
3824 run : " cmake -B build -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=Release -DVCPKG_TARGET_TRIPLET=x64-linux -DBUILD_SHARED_LIBS=OFF"
3925 env :
4329 - name : Build
4430 run : cmake --build build --config Release -j$(nproc)
4531
46- - name : Save vcpkg cache
47- if : always()
48- uses : actions/cache/save@v5
49- with :
50- path : |
51- ${{ github.workspace }}/vcpkg/packages
52- ${{ github.workspace }}/vcpkg/downloads
53- ${{ github.workspace }}/build/vcpkg_installed
54- key : vcpkg-${{ runner.os }}-${{ hashFiles('vcpkg.json') }}
55-
5632 - uses : actions/upload-artifact@v7
5733 with :
5834 name : cubicdiscord-linux
You can’t perform that action at this time.
0 commit comments