CI: Fix ccache default dir
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
6d8a4e0f15
commit
0f8238cd40
1 changed files with 22 additions and 15 deletions
37
.github/workflows/build.yml
vendored
37
.github/workflows/build.yml
vendored
|
@ -8,7 +8,7 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- '*'
|
- '*'
|
||||||
env:
|
env:
|
||||||
CACHE_VERSION: 1
|
CACHE_VERSION: 2
|
||||||
DEBIAN_FRONTEND: noninteractive
|
DEBIAN_FRONTEND: noninteractive
|
||||||
HOMEBREW_NO_AUTO_UPDATE: 1
|
HOMEBREW_NO_AUTO_UPDATE: 1
|
||||||
LIBGL_ALWAYS_SOFTWARE: 'true'
|
LIBGL_ALWAYS_SOFTWARE: 'true'
|
||||||
|
@ -24,7 +24,7 @@ jobs:
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cache
|
~/.ccache
|
||||||
~/PawPawBuilds/builds
|
~/PawPawBuilds/builds
|
||||||
~/PawPawBuilds/downloads
|
~/PawPawBuilds/downloads
|
||||||
~/PawPawBuilds/targets
|
~/PawPawBuilds/targets
|
||||||
|
@ -41,7 +41,7 @@ jobs:
|
||||||
- name: Install ccache
|
- name: Install ccache
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install -yqq ccache
|
sudo apt-get install -yqq ccache
|
||||||
ccache --set-config=cache_dir=~/.cache
|
ccache --set-config=cache_dir=~/.ccache
|
||||||
ccache --set-config=compression=true
|
ccache --set-config=compression=true
|
||||||
- name: Build extra dependencies
|
- name: Build extra dependencies
|
||||||
env:
|
env:
|
||||||
|
@ -53,6 +53,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
export PATH="/usr/lib/ccache:${PATH}"
|
export PATH="/usr/lib/ccache:${PATH}"
|
||||||
pushd deps/PawPaw; source local.env linux-aarch64; popd
|
pushd deps/PawPaw; source local.env linux-aarch64; popd
|
||||||
|
ccache --show-config
|
||||||
make features
|
make features
|
||||||
make NOOPT=true SKIP_RTAUDIO_FALLBACK=true WITH_LTO=true WITH_PAWPAW=true -j $(nproc)
|
make NOOPT=true SKIP_RTAUDIO_FALLBACK=true WITH_LTO=true WITH_PAWPAW=true -j $(nproc)
|
||||||
make unzipfx
|
make unzipfx
|
||||||
|
@ -78,7 +79,7 @@ jobs:
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cache
|
~/.ccache
|
||||||
~/PawPawBuilds/builds
|
~/PawPawBuilds/builds
|
||||||
~/PawPawBuilds/downloads
|
~/PawPawBuilds/downloads
|
||||||
~/PawPawBuilds/targets
|
~/PawPawBuilds/targets
|
||||||
|
@ -95,7 +96,7 @@ jobs:
|
||||||
- name: Install ccache
|
- name: Install ccache
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install -yqq ccache
|
sudo apt-get install -yqq ccache
|
||||||
ccache --set-config=cache_dir=~/.cache
|
ccache --set-config=cache_dir=~/.ccache
|
||||||
ccache --set-config=compression=true
|
ccache --set-config=compression=true
|
||||||
- name: Build extra dependencies
|
- name: Build extra dependencies
|
||||||
env:
|
env:
|
||||||
|
@ -107,6 +108,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
export PATH="/usr/lib/ccache:${PATH}"
|
export PATH="/usr/lib/ccache:${PATH}"
|
||||||
pushd deps/PawPaw; source local.env linux-armhf; popd
|
pushd deps/PawPaw; source local.env linux-armhf; popd
|
||||||
|
ccache --show-config
|
||||||
make features
|
make features
|
||||||
make NOOPT=true SKIP_RTAUDIO_FALLBACK=true WITH_LTO=true WITH_PAWPAW=true -j $(nproc)
|
make NOOPT=true SKIP_RTAUDIO_FALLBACK=true WITH_LTO=true WITH_PAWPAW=true -j $(nproc)
|
||||||
make unzipfx
|
make unzipfx
|
||||||
|
@ -132,7 +134,7 @@ jobs:
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cache
|
~/.ccache
|
||||||
~/PawPawBuilds/builds
|
~/PawPawBuilds/builds
|
||||||
~/PawPawBuilds/downloads
|
~/PawPawBuilds/downloads
|
||||||
~/PawPawBuilds/targets
|
~/PawPawBuilds/targets
|
||||||
|
@ -145,7 +147,7 @@ jobs:
|
||||||
- name: Install ccache
|
- name: Install ccache
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install -yqq ccache
|
sudo apt-get install -yqq ccache
|
||||||
ccache --set-config=cache_dir=~/.cache
|
ccache --set-config=cache_dir=~/.ccache
|
||||||
ccache --set-config=compression=true
|
ccache --set-config=compression=true
|
||||||
- name: Build extra dependencies
|
- name: Build extra dependencies
|
||||||
env:
|
env:
|
||||||
|
@ -157,6 +159,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
export PATH="/usr/lib/ccache:${PATH}"
|
export PATH="/usr/lib/ccache:${PATH}"
|
||||||
pushd deps/PawPaw; source local.env linux-i686; popd
|
pushd deps/PawPaw; source local.env linux-i686; popd
|
||||||
|
ccache --show-config
|
||||||
make features
|
make features
|
||||||
make NOOPT=true SKIP_RTAUDIO_FALLBACK=true WITH_LTO=true WITH_PAWPAW=true -j $(nproc)
|
make NOOPT=true SKIP_RTAUDIO_FALLBACK=true WITH_LTO=true WITH_PAWPAW=true -j $(nproc)
|
||||||
make unzipfx
|
make unzipfx
|
||||||
|
@ -182,7 +185,7 @@ jobs:
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cache
|
~/.ccache
|
||||||
~/PawPawBuilds/builds
|
~/PawPawBuilds/builds
|
||||||
~/PawPawBuilds/downloads
|
~/PawPawBuilds/downloads
|
||||||
~/PawPawBuilds/targets
|
~/PawPawBuilds/targets
|
||||||
|
@ -194,7 +197,7 @@ jobs:
|
||||||
- name: Install ccache
|
- name: Install ccache
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install -yqq ccache
|
sudo apt-get install -yqq ccache
|
||||||
ccache --set-config=cache_dir=~/.cache
|
ccache --set-config=cache_dir=~/.ccache
|
||||||
ccache --set-config=compression=true
|
ccache --set-config=compression=true
|
||||||
- name: Build extra dependencies
|
- name: Build extra dependencies
|
||||||
run: |
|
run: |
|
||||||
|
@ -204,6 +207,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
export PATH="/usr/lib/ccache:${PATH}"
|
export PATH="/usr/lib/ccache:${PATH}"
|
||||||
pushd deps/PawPaw; source local.env linux; popd
|
pushd deps/PawPaw; source local.env linux; popd
|
||||||
|
ccache --show-config
|
||||||
make features
|
make features
|
||||||
make NOOPT=true SKIP_RTAUDIO_FALLBACK=true WITH_LTO=true WITH_PAWPAW=true -j $(nproc)
|
make NOOPT=true SKIP_RTAUDIO_FALLBACK=true WITH_LTO=true WITH_PAWPAW=true -j $(nproc)
|
||||||
make unzipfx
|
make unzipfx
|
||||||
|
@ -287,7 +291,7 @@ jobs:
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cache
|
~/.ccache
|
||||||
~/PawPawBuilds/builds
|
~/PawPawBuilds/builds
|
||||||
~/PawPawBuilds/downloads
|
~/PawPawBuilds/downloads
|
||||||
~/PawPawBuilds/targets
|
~/PawPawBuilds/targets
|
||||||
|
@ -295,7 +299,7 @@ jobs:
|
||||||
- name: Install ccache
|
- name: Install ccache
|
||||||
run: |
|
run: |
|
||||||
brew install ccache
|
brew install ccache
|
||||||
ccache --set-config=cache_dir=~/.cache
|
ccache --set-config=cache_dir=~/.ccache
|
||||||
ccache --set-config=compression=true
|
ccache --set-config=compression=true
|
||||||
- name: Fix up Xcode
|
- name: Fix up Xcode
|
||||||
run: |
|
run: |
|
||||||
|
@ -309,6 +313,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
export PATH="/usr/local/opt/ccache/libexec:${PATH}"
|
export PATH="/usr/local/opt/ccache/libexec:${PATH}"
|
||||||
pushd deps/PawPaw; source local.env macos-universal; popd
|
pushd deps/PawPaw; source local.env macos-universal; popd
|
||||||
|
ccache --show-config
|
||||||
make features
|
make features
|
||||||
make NOOPT=true WITH_LTO=true WITH_PAWPAW=true -j $(sysctl -n hw.logicalcpu)
|
make NOOPT=true WITH_LTO=true WITH_PAWPAW=true -j $(sysctl -n hw.logicalcpu)
|
||||||
./dpf/utils/package-osx-bundles.sh
|
./dpf/utils/package-osx-bundles.sh
|
||||||
|
@ -331,7 +336,7 @@ jobs:
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cache
|
~/.ccache
|
||||||
~/PawPawBuilds/builds
|
~/PawPawBuilds/builds
|
||||||
~/PawPawBuilds/downloads
|
~/PawPawBuilds/downloads
|
||||||
~/PawPawBuilds/targets
|
~/PawPawBuilds/targets
|
||||||
|
@ -345,7 +350,7 @@ jobs:
|
||||||
- name: Install ccache
|
- name: Install ccache
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install -yqq ccache
|
sudo apt-get install -yqq ccache
|
||||||
ccache --set-config=cache_dir=~/.cache
|
ccache --set-config=cache_dir=~/.ccache
|
||||||
ccache --set-config=compression=true
|
ccache --set-config=compression=true
|
||||||
- name: Build extra dependencies
|
- name: Build extra dependencies
|
||||||
run: |
|
run: |
|
||||||
|
@ -355,6 +360,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
export PATH="/usr/lib/ccache:${PATH}"
|
export PATH="/usr/lib/ccache:${PATH}"
|
||||||
pushd deps/PawPaw; source local.env win32; popd
|
pushd deps/PawPaw; source local.env win32; popd
|
||||||
|
ccache --show-config
|
||||||
make features
|
make features
|
||||||
make NOOPT=true WITH_LTO=true WITH_PAWPAW=true -j $(nproc)
|
make NOOPT=true WITH_LTO=true WITH_PAWPAW=true -j $(nproc)
|
||||||
- name: Set sha8
|
- name: Set sha8
|
||||||
|
@ -379,7 +385,7 @@ jobs:
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cache
|
~/.ccache
|
||||||
~/PawPawBuilds/builds
|
~/PawPawBuilds/builds
|
||||||
~/PawPawBuilds/downloads
|
~/PawPawBuilds/downloads
|
||||||
~/PawPawBuilds/targets
|
~/PawPawBuilds/targets
|
||||||
|
@ -391,7 +397,7 @@ jobs:
|
||||||
- name: Install ccache
|
- name: Install ccache
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install -yqq ccache
|
sudo apt-get install -yqq ccache
|
||||||
ccache --set-config=cache_dir=~/.cache
|
ccache --set-config=cache_dir=~/.ccache
|
||||||
ccache --set-config=compression=true
|
ccache --set-config=compression=true
|
||||||
- name: Build extra dependencies
|
- name: Build extra dependencies
|
||||||
run: |
|
run: |
|
||||||
|
@ -401,6 +407,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
export PATH="/usr/lib/ccache:${PATH}"
|
export PATH="/usr/lib/ccache:${PATH}"
|
||||||
pushd deps/PawPaw; source local.env win64; popd
|
pushd deps/PawPaw; source local.env win64; popd
|
||||||
|
ccache --show-config
|
||||||
make features
|
make features
|
||||||
make NOOPT=true WITH_LTO=true WITH_PAWPAW=true -j $(nproc)
|
make NOOPT=true WITH_LTO=true WITH_PAWPAW=true -j $(nproc)
|
||||||
- name: Set sha8
|
- name: Set sha8
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue