|
|
@@ -39,9 +39,6 @@ jobs:
|
|
|
runs-on: ubuntu-latest
|
|
|
timeout-minutes: 120
|
|
|
env:
|
|
|
- CCACHE_COMPILERCHECK: "%compiler% -dumpmachine; %compiler% -dumpversion"
|
|
|
- CCACHE_NOHASHDIR: "true"
|
|
|
- CCACHE_HARDLINK: "true"
|
|
|
|
|
|
steps:
|
|
|
# - name: Maximize Build Space
|
|
|
@@ -67,16 +64,8 @@ jobs:
|
|
|
|
|
|
echo "CONFIG set to: $CONFIG"
|
|
|
|
|
|
- - name: Install ccache
|
|
|
- run: sudo apt update && sudo apt install -y ccache libelf-dev libssl-dev build-essential
|
|
|
-
|
|
|
- - name: Set up ccache
|
|
|
- run: |
|
|
|
- mkdir -p ~/.cache/bazel
|
|
|
- ccache --version
|
|
|
- ccache --max-size=2G
|
|
|
- ccache --set-config=compression=true
|
|
|
- echo "CCACHE_DIR=$HOME/.ccache" >> $GITHUB_ENV
|
|
|
+ - name: Install dependencies
|
|
|
+ run: sudo apt update && sudo apt install -y libelf-dev libssl-dev build-essential
|
|
|
|
|
|
- name: Install Repo
|
|
|
run: |
|
|
|
@@ -397,11 +386,10 @@ jobs:
|
|
|
cd "$CONFIG"
|
|
|
echo "Building the kernel..."
|
|
|
if [ -f "build/build.sh" ]; then
|
|
|
- LTO=thin BUILD_CONFIG=common/build.config.gki.aarch64 build/build.sh CC="/usr/bin/ccache clang" || exit 1
|
|
|
+ LTO=thin BUILD_CONFIG=common/build.config.gki.aarch64 build/build.sh || exit 1
|
|
|
else
|
|
|
- tools/bazel build --disk_cache=/home/runner/.cache/bazel --config=fast --lto=thin //common:kernel_aarch64_dist || exit 1
|
|
|
+ tools/bazel build --config=fast --lto=thin //common:kernel_aarch64_dist || exit 1
|
|
|
fi
|
|
|
- ccache --show-stats
|
|
|
|
|
|
- name: Create Kernel ZIP
|
|
|
run: |
|