From 90b3aeb4697c6f746c694de696a68f46ecd0a8f1 Mon Sep 17 00:00:00 2001 From: Diaz1401 Date: Sun, 2 Jul 2023 12:56:45 +0700 Subject: [PATCH] CI: Enable PGO Signed-off-by: Diaz1401 --- .cirrus.yml | 6 ++++-- .github/workflows/main.yml | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 6500b144ddb5..3a1c68ff7cb3 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -12,5 +12,7 @@ task: timeout_in: 69m only_if: $CIRRUS_BRANCH == 'kucing-13-rebase' script: - - wget -qO build.sh https://raw.githubusercontent.com/Diaz1401/build-script/alioth/build.sh - - bash build.sh gcc stable opt gcov + - wget -qO profile.tar https://github.com/Mengkernel/kernel_xiaomi_sm8250/releases/download/profile-6/profile.tar + - wget -qO build.sh https://raw.githubusercontent.com/Mengkernel/build-script/alioth/build.sh + - tar xf profile.tar + - bash build.sh gcc stable opt pgo diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4516f5da77f8..2da2707723b2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,6 +13,8 @@ jobs: - uses: actions/checkout@v3 - name: build run: | + wget -qO profile.tar https://github.com/Mengkernel/kernel_xiaomi_sm8250/releases/download/profile-6/profile.tar wget -qO build.sh https://raw.githubusercontent.com/Mengkernel/build-script/alioth/build.sh - bash build.sh gcc stable opt gcov + tar xf profile.tar + bash build.sh gcc stable opt pgo