|
|
@@ -65,11 +65,25 @@ jobs:
|
|
|
uses: actions/checkout@v2
|
|
|
with:
|
|
|
fetch-depth: ${{ env.FETCH_DEPTH }}
|
|
|
- - name: Free up spaces
|
|
|
+ - name: Free up space
|
|
|
run: sudo rm -rf microsoft mssql-toos cni hostedtoolcache /usr/local/share/boost /usr/share/dotnet /usr/local/lib/android /opt/ghc "$AGENT_TOOLSDIRECTORY"
|
|
|
if: matrix.platform == 'android'
|
|
|
+ - name: Cache
|
|
|
+ uses: actions/cache@v2
|
|
|
+ with:
|
|
|
+ path: |
|
|
|
+ build/cache/.ccache
|
|
|
+ build/cache/.gradle/caches
|
|
|
+ build/cache/.gradle/wrapper
|
|
|
+ key: ${{ env.DBE_TAG }}-${{ matrix.platform }}-${{ matrix.lib-type }}-${{ matrix.architecture }}-${{ github.sha }}
|
|
|
+ restore-keys: ${{ env.DBE_TAG }}-${{ matrix.platform }}-${{ matrix.lib-type }}-${{ matrix.architecture }}
|
|
|
- name: Build
|
|
|
- run: script/dockerized.sh ${PLATFORM/-*} rake ci build
|
|
|
+ run: |
|
|
|
+ docker volume create $(id -u).urho3d_home_dir >/dev/null
|
|
|
+ sudo rm -rf /var/lib/docker/volumes/$(id -u).urho3d_home_dir/_data
|
|
|
+ mkdir -p build/cache
|
|
|
+ sudo ln -s $(pwd)/build/cache /var/lib/docker/volumes/$(id -u).urho3d_home_dir/_data
|
|
|
+ script/dockerized.sh ${PLATFORM/-*} rake ci build
|
|
|
macOS:
|
|
|
name: 🍏
|
|
|
runs-on: macos-latest
|
|
|
@@ -106,7 +120,7 @@ jobs:
|
|
|
fail-fast: false
|
|
|
matrix:
|
|
|
platform:
|
|
|
- - win-msvc
|
|
|
+ - win-vs
|
|
|
- win-gcc
|
|
|
lib-type:
|
|
|
- STATIC
|