File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 2020 with :
2121 path : swiftly
2222
23+ - name : Set up cache for Xmake
24+ id : xmake-cache
25+ uses : actions/cache@v2
26+ with :
27+ path : ${{ github.workspace }}/swiftly/build/.build_cache
28+ key : ${{ runner.os }}-xmake-${{ hashFiles('**/*') }}
29+ restore-keys : |
30+ ${{ runner.os }}-xmake-
31+
2332 - name : Generate Documentation
2433 working-directory : swiftly/docgen
2534 run : |
7180 shell : bash
7281 run : |
7382 sudo apt update
74- sudo apt install -y libreadline-dev libboost-all-dev fdupes unzip
83+ sudo apt install -y libreadline-dev libboost-all-dev fdupes unzip ccache
7584 bash ./setup.sh
7685
7786 - name : Build - Windows
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ includes("@builtin/xpack")
44includes (" core.base.option" )
55includes (" platform.os" )
66
7+ set_policy (" build.ccache" , true )
8+
79local SDK_PATH = os.getenv (" HL2SDKCS2" )
810local MM_PATH = os.getenv (" MMSOURCE112" )
911local GITHUB_SHA = os.getenv (" GITHUB_SHA" ) or " Local"
2123target (PROJECT_NAME .. " -Xmake" )
2224 set_kind (" shared" )
2325
26+ set_policy (" build.cache" , true )
27+
2428 --[[ Source Files ]]
2529 add_files (" src/**.cpp" )
2630 add_files (" vendor/luacpp/src/**.cpp" )
You can’t perform that action at this time.
0 commit comments