From 821c21eaced7803f808df931d7bf7754beb04d5f Mon Sep 17 00:00:00 2001 From: probonopd Date: Sun, 20 Apr 2025 18:24:29 +0200 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 486ed4e..c378c6e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,27 +11,20 @@ on: pull_request: jobs: - prepare: - name: Prepare Environment - runs-on: ubuntu-22.04 - steps: - - uses: actions/checkout@v2 - - name: Get specific commits of git submodules - run: sh -ex ./submod.sh - - name: Apply patches - run: | - # Put git hash in startup message - sed -i "s/Loading.../$(date +%Y%m%d)-$(git rev-parse --short HEAD)/g" src/userinterface.cpp build64: name: Build 64-bit kernels runs-on: ubuntu-22.04 - needs: prepare outputs: artifact-path: ${{ steps.upload64.outputs.artifact-path }} steps: - uses: actions/checkout@v2 - + - name: Get specific commits of git submodules + run: sh -ex ./submod.sh + - name: Put git hash in startup message + run: | + sed -i "s/Loading.../$(date +%Y%m%d)-$(git rev-parse --short HEAD)/g" src/userinterface.cpp + # Install 64-bit toolchain (aarch64) - name: Install 64-bit toolchain run: | @@ -88,12 +81,16 @@ jobs: build32: name: Build 32-bit kernels runs-on: ubuntu-22.04 - needs: prepare outputs: artifact-path: ${{ steps.upload32.outputs.artifact-path }} steps: - uses: actions/checkout@v2 - + - name: Get specific commits of git submodules + run: sh -ex ./submod.sh + - name: Put git hash in startup message + run: | + sed -i "s/Loading.../$(date +%Y%m%d)-$(git rev-parse --short HEAD)/g" src/userinterface.cpp + # Install 32-bit toolchain (arm-none-eabi) - name: Install 32-bit toolchain run: |