Skip to content

Commit

Permalink
build: add CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cheng authored and zcbenz committed Mar 8, 2024
1 parent ddd5024 commit ae4c8c1
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Debian Sysroot Image

on: push

jobs:
build:
runs-on: ubuntu-latest
continue-on-error: true

strategy:
matrix:
arch: ['arm64', 'armhf', 'armel', 'amd64', 'i386']

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install Deps
run: sudo apt install -y binutils-arm-linux-gnueabi binutils-arm-linux-gnueabihf binutils-mips64el-linux-gnuabi64 binutils-mipsel-linux-gnu

- name: Build
run: ./build/linux/sysroot_scripts/sysroot-creator.sh build ${{ matrix.arch }}

- name: Release
uses: softprops/[email protected]
if: startsWith(github.ref, 'refs/tags/')
with:
draft: true
files: out/sysroot-build/bullseye/*_sysroot.tar.xz

0 comments on commit ae4c8c1

Please sign in to comment.