Fix CCache path in GitHub Actions
This commit is contained in:
parent
ad1f7d2d65
commit
e392480ecb
5
.github/workflows/osrm-backend.yml
vendored
5
.github/workflows/osrm-backend.yml
vendored
@ -656,13 +656,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ref: ${{ github.head_ref }}
|
ref: ${{ github.head_ref }}
|
||||||
path: pr
|
path: pr
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
python3 -m pip install "conan<2.0.0" "requests==2.31.0"
|
||||||
|
sudo apt-get update -y && sudo apt-get install ccache
|
||||||
- name: Prepare environment
|
- name: Prepare environment
|
||||||
run: |
|
run: |
|
||||||
echo "CCACHE_DIR=$HOME/.ccache" >> $GITHUB_ENV
|
echo "CCACHE_DIR=$HOME/.ccache" >> $GITHUB_ENV
|
||||||
mkdir -p $HOME/.ccache
|
mkdir -p $HOME/.ccache
|
||||||
ccache --zero-stats
|
ccache --zero-stats
|
||||||
ccache --max-size=256M
|
ccache --max-size=256M
|
||||||
- run: python3 -m pip install "conan<2.0.0" "requests==2.31.0"
|
|
||||||
- name: Build PR Branch
|
- name: Build PR Branch
|
||||||
run: |
|
run: |
|
||||||
mkdir -p pr/build
|
mkdir -p pr/build
|
||||||
|
Loading…
Reference in New Issue
Block a user