From 15e7082f5b31883e90bebc6fe73b35f8de488803 Mon Sep 17 00:00:00 2001 From: Vaisakh Murali Date: Mon, 12 Feb 2024 23:21:15 +0530 Subject: [PATCH] CI: switch to fedora latest container Change-Id: I5d2ef630fc4c12b5042574c368398a0767d71f7b --- .github/workflows/kernel.yml | 54 ++++++++++++++++++++++++------------ 1 file changed, 36 insertions(+), 18 deletions(-) diff --git a/.github/workflows/kernel.yml b/.github/workflows/kernel.yml index 7c28fa2e1050..27890201b95e 100644 --- a/.github/workflows/kernel.yml +++ b/.github/workflows/kernel.yml @@ -22,10 +22,12 @@ jobs: build-lemonade-clang: needs: [bot-notify-ci] runs-on: ubuntu-latest + container: + image: fedora:latest steps: - - name: Setup repo - run: sudo apt update -y && sudo apt install -y repo elfutils libarchive-tools + - name: Setup Pre-requisites + run: sudo dnf install gcc clang lld repo bc flex openssl-devel libarchive-tools - name: Repo sync run: | repo init -u https://github.com/mvaisakh/android_kernel_manifest -b eva-oneplus-5.4 --depth=1 @@ -68,10 +70,12 @@ jobs: build-lemonade-gcc: needs: [bot-notify-ci] runs-on: ubuntu-latest + container: + image: fedora:latest steps: - - name: Setup repo - run: sudo apt update -y && sudo apt install -y repo elfutils wget tar + - name: Setup Pre-requisites + run: sudo dnf install gcc clang lld repo bc flex openssl-devel wget tar - name: Repo sync run: | repo init -u https://github.com/mvaisakh/android_kernel_manifest -b eva-oneplus-5.4 --depth=1 @@ -117,10 +121,12 @@ jobs: build-lemonade-gcc-profiling: needs: [bot-notify-ci] runs-on: ubuntu-latest + container: + image: fedora:latest steps: - - name: Setup repo - run: sudo apt update -y && sudo apt install -y repo elfutils wget tar + - name: Setup Pre-requisites + run: sudo dnf install gcc clang lld repo bc flex openssl-devel wget tar - name: Repo sync run: | repo init -u https://github.com/mvaisakh/android_kernel_manifest -b eva-oneplus-5.4 --depth=1 @@ -150,10 +156,12 @@ jobs: build-martini-clang: needs: [bot-notify-ci] runs-on: ubuntu-latest + container: + image: fedora:latest steps: - - name: Setup repo - run: sudo apt update -y && sudo apt install -y repo elfutils libarchive-tools + - name: Setup Pre-requisites + run: sudo dnf install gcc clang lld repo bc flex openssl-devel libarchive-tools - name: Repo sync run: | repo init -u https://github.com/mvaisakh/android_kernel_manifest -b eva-oneplus-5.4 --depth=1 @@ -196,10 +204,12 @@ jobs: build-martini-gcc: needs: [bot-notify-ci] runs-on: ubuntu-latest + container: + image: fedora:latest steps: - - name: Setup repo - run: sudo apt update -y && sudo apt install -y repo elfutils + - name: Setup Pre-requisites + run: sudo dnf install gcc clang lld repo bc flex openssl-devel - name: Repo sync run: | repo init -u https://github.com/mvaisakh/android_kernel_manifest -b eva-oneplus-5.4 --depth=1 @@ -245,10 +255,12 @@ jobs: build-martini-gcc-profiling: needs: [bot-notify-ci] runs-on: ubuntu-latest + container: + image: fedora:latest steps: - - name: Setup repo - run: sudo apt update -y && sudo apt install -y repo elfutils + - name: Setup Pre-requisites + run: sudo dnf install gcc clang lld repo bc flex openssl-devel - name: Repo sync run: | repo init -u https://github.com/mvaisakh/android_kernel_manifest -b eva-oneplus-5.4 --depth=1 @@ -278,10 +290,12 @@ jobs: build-lunaa-clang: needs: [bot-notify-ci] runs-on: ubuntu-latest + container: + image: fedora:latest steps: - - name: Setup repo - run: sudo apt update -y && sudo apt install -y repo elfutils libarchive-tools + - name: Setup Pre-requisites + run: sudo dnf install gcc clang lld repo bc flex openssl-devel libarchive-tools - name: Repo sync run: | repo init -u https://github.com/mvaisakh/android_kernel_manifest -b eva-oneplus-5.4 --depth=1 @@ -324,10 +338,12 @@ jobs: build-lunaa-gcc: needs: [bot-notify-ci] runs-on: ubuntu-latest + container: + image: fedora:latest steps: - - name: Setup repo - run: sudo apt update -y && sudo apt install -y repo elfutils + - name: Setup Pre-requisites + run: sudo dnf install gcc clang lld repo bc flex openssl-devel - name: Repo sync run: | repo init -u https://github.com/mvaisakh/android_kernel_manifest -b eva-oneplus-5.4 --depth=1 @@ -373,10 +389,12 @@ jobs: build-lunaa-gcc-profiling: needs: [bot-notify-ci] runs-on: ubuntu-latest + container: + image: fedora:latest steps: - - name: Setup repo - run: sudo apt update -y && sudo apt install -y repo elfutils + - name: Setup Pre-requisites + run: sudo dnf install gcc clang lld repo bc flex openssl-devel - name: Repo sync run: | repo init -u https://github.com/mvaisakh/android_kernel_manifest -b eva-oneplus-5.4 --depth=1