From 8aa301305bd6e1ef9b54a2fe968a29b231d9e604 Mon Sep 17 00:00:00 2001 From: BigfootACA Date: Wed, 15 Sep 2021 17:39:43 +0800 Subject: [PATCH] add GitHub Actions CI Signed-off-by: BigfootACA --- .github/workflows/main.yml | 43 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..dd80341 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,43 @@ +name: CI +on: + push: + branches: [main] +jobs: + build: + name: Drivers Packager + runs-on: ubuntu-latest + strategy: + matrix: + device: + - akershus + - ayn-odin + - beryllium + - dipper-old + - dipper + - draco + - enchilada + - equuleus + - fajita + - judyln + - m1882 + - m1892 + - nx616j + - olympic + - pafm00 + - pd1821 + - perseus + - polaris + - sdm845-generic + - skr-a0 + - star2qltechn + - trident + steps: + - name: Checkout repository + uses: actions/checkout@v2 + - name: Package device ${{ matrix.device }} + run: ./extract.sh ${{ matrix.device }} + - name: Upload a Build Artifact + uses: actions/upload-artifact@v2 + with: + name: ${{ matrix.device }} + path: ./output/*