Github action runs on job matrix now for parallel operation (both build and check) (#1202)

* Build matrix for parallel jobs
This commit is contained in:
Ben Meadors
2022-02-13 14:10:59 -06:00
committed by GitHub
parent 3f83acdbef
commit ab96579904
6 changed files with 442 additions and 16 deletions

26
bin/build-native.sh Executable file
View File

@@ -0,0 +1,26 @@
#!/usr/bin/env bash
set -e
VERSION=`bin/buildinfo.py long`
SHORT_VERSION=`bin/buildinfo.py short`
OUTDIR=release/
rm -f $OUTDIR/firmware*
mkdir -p $OUTDIR/
rm -r $OUTDIR/* || true
# Make sure our submodules are current
git submodule update
# Important to pull latest version of libs into all device flavors, otherwise some devices might be stale
platformio lib update
pio run --environment native
cp .pio/build/native/program $OUTDIR/meshtasticd_linux_amd64
cp bin/device-install.* $OUTDIR
cp bin/device-update.* $OUTDIR