add GitHub Actions CI

Signed-off-by: BigfootACA <bigfoot@classfun.cn>
This commit is contained in:
BigfootACA 2021-09-15 17:39:43 +08:00
parent a85da73bc6
commit 8aa301305b

43
.github/workflows/main.yml vendored Normal file
View File

@ -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/*