Skip to content

workflows: Disable LTO #3

workflows: Disable LTO

workflows: Disable LTO #3

Workflow file for this run

name: Kernel Compilation
on:
push:
branches:
- "kucing-2k24"
workflow_dispatch:
env:
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }}
GCC_IGNORE_WERROR: 1
jobs:
clang:
name: Compile Kernel (Clang)
runs-on: ubuntu-latest
container:
image: diazaji/debian:kernel
steps:
- uses: actions/checkout@v4
- name: Setup ccache
uses: Chocobo1/setup-ccache-action@v1
with:
install_ccache: false
update_packager_index: false
override_cache_key: "clang"
- name: Build
run: |
wget -qO build.sh https://raw.githubusercontent.com/Diaz1401/build-script/alioth/build.sh
bash build.sh clang stable opt dce
gcc_pgo_gen:
name: Compile Kernel (GCC PGO_GEN)
runs-on: ubuntu-latest
container:
image: diazaji/debian:kernel
steps:
- uses: actions/checkout@v4
- name: Setup ccache
uses: Chocobo1/setup-ccache-action@v1
with:
install_ccache: false
update_packager_index: false
override_cache_key: "gcc_pgo_gen"
- name: Build
run: |
wget -qO build.sh https://raw.githubusercontent.com/Diaz1401/build-script/alioth/build.sh
bash build.sh gcc stable opt dce pgo_gen
gcc_pgo_use:
name: Compile Kernel (GCC PGO_USE)
runs-on: ubuntu-latest
container:
image: diazaji/debian:kernel
steps:
- uses: actions/checkout@v4
- name: Setup ccache
uses: Chocobo1/setup-ccache-action@v1
with:
install_ccache: false
update_packager_index: false
override_cache_key: "gcc_pgo_use"
- name: Build
run: |
wget -qO build.sh https://raw.githubusercontent.com/Diaz1401/build-script/alioth/build.sh
wget -qO calcsum.cpp https://raw.githubusercontent.com/openeuler-mirror/A-FOT/master/GcovSummaryAddTool.cpp
g++ -o calcsum calcsum.cpp
mkdir -p out
tar xf profiles.tar.gz -C out
find out -name "*.gcda" > list.txt
./calcsum list.txt
bash build.sh gcc stable opt dce pgo_use
gcc:
name: Compile Kernel (GCC)
runs-on: ubuntu-latest
container:
image: diazaji/debian:kernel
steps:
- uses: actions/checkout@v4
- name: Setup ccache
uses: Chocobo1/setup-ccache-action@v1
with:
install_ccache: false
update_packager_index: false
override_cache_key: "gcc"
- name: Build
run: |
wget -qO build.sh https://raw.githubusercontent.com/Diaz1401/build-script/alioth/build.sh
bash build.sh gcc stable opt dce