From 51d29819ca6923cbd36f5374d35abdf03fe8df15 Mon Sep 17 00:00:00 2001 From: Viktor <35473052+viktorxda@users.noreply.github.com> Date: Thu, 14 Mar 2024 01:45:56 +0100 Subject: [PATCH] [no ci] Workflow: add uboot build script --- .github/workflows/uboot.yml | 42 +++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 .github/workflows/uboot.yml diff --git a/.github/workflows/uboot.yml b/.github/workflows/uboot.yml new file mode 100644 index 00000000..9d45037f --- /dev/null +++ b/.github/workflows/uboot.yml @@ -0,0 +1,42 @@ +name: uboot +on: + workflow_dispatch: + +jobs: + toolchain: + name: Uboot + runs-on: ubuntu-latest + steps: + - name: Checkout source + uses: actions/checkout@v4 + + - name: Prepare + run: | + sudo apt-get update + sudo apt-get install gcc-arm-linux-gnueabi + + - name: u-boot-sigmastar + run: | + git clone https://github.com/openipc/u-boot-sigmastar.git --depth 1 + cd u-boot-sigmastar + bash build.sh + + - name: Upload + uses: softprops/action-gh-release@master + with: + tag_name: latest + files: | + u-boot-sigmastar/output/u-boot-ssc30kd-nor.bin + u-boot-sigmastar/output/u-boot-ssc30kq-nor.bin + u-boot-sigmastar/output/u-boot-ssc325-nor.bin + u-boot-sigmastar/output/u-boot-ssc325de-nand.bin + u-boot-sigmastar/output/u-boot-ssc333-nor.bin + u-boot-sigmastar/output/u-boot-ssc335de-nor.bin + u-boot-sigmastar/output/u-boot-ssc335-nor.bin + u-boot-sigmastar/output/u-boot-ssc337de-nor.bin + u-boot-sigmastar/output/u-boot-ssc337de-nand.bin + u-boot-sigmastar/output/u-boot-ssc337-nor.bin + u-boot-sigmastar/output/u-boot-ssc338q-nand.bin + u-boot-sigmastar/output/u-boot-ssc338q-nor.bin + u-boot-sigmastar/output/u-boot-ssc338q-ram.bin + u-boot-sigmastar/output/u-boot-ssc377-nor.bin