File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545 chmod +x ~/.local/bin/butler
4646 butler -V
4747
48+ - name : Install dependencies
49+ run : |
50+ gh release download --pattern 'Crow*.deb' -R CrowCpp/Crow -O Crow.deb
51+ sudo dpkg -i Crow.deb
52+ rm Crow.deb
53+
4854 - name : Build dist
4955 id : build-dist
5056 env :
Original file line number Diff line number Diff line change 88jobs :
99 build_win :
1010 runs-on : windows-latest
11+ env :
12+ VCPKG_ROOT : ${{ github.workspace }}/vcpkg
1113 steps :
1214 # checkout the github actions / workflow
1315 - name : Checkout actions
@@ -87,10 +89,17 @@ jobs:
8789 working-directory : " ${{ github.workspace }}/src"
8890 run : ' .\createallprojects.bat'
8991
92+ - name : Install dependencies
93+ uses : lukka/run-vcpkg@v11
94+ with :
95+ runVcpkgInstall : true
96+
9097 - name : Build solution
9198 shell : cmd
9299 working-directory : " ${{ github.workspace }}/src"
93- run : msbuild everything.sln /p:Platform="win64" /p:Configuration="Release"
100+ run : |
101+ vcpkg integrate install
102+ msbuild everything.sln /p:Platform="win64" /p:Configuration="Release"
94103
95104 - name : Copy dist
96105 id : copy-dist
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json" ,
3+ "name" : " team-comtress-2" ,
4+ "version-string" : " 1.0.0" ,
5+ "description" : " A TF2 mod with fresh new development " ,
6+ "homepage" : " https://github.com/mastercomfig/tc2" ,
7+ "dependencies" : [ " crow" ]
8+ }
You can’t perform that action at this time.
0 commit comments