mirror of
https://github.com/svpcom/wfb-ng.git
synced 2025-02-23 08:34:01 -04:00
Use github actions for building packets
This commit is contained in:
parent
d3ee6c70e4
commit
f218f3936c
28
.github/workflows/build.yml
vendored
Normal file
28
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
name: WFB-ng package builder
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build_and_test:
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
matrix:
|
||||
docker-images:
|
||||
- "2023-02-21-raspios-bullseye-armhf-lite"
|
||||
- "2023-02-21-raspios-bullseye-arm64-lite"
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
- name: build package
|
||||
run: |
|
||||
curl -s -L https://github.com/svpcom/wfb-ng/releases/download/wifibroadcast-17.10/qemu-7.2.0-fixed.tar.gz | sudo tar xzv -C /
|
||||
make deb_docker DOCKER_SRC_IMAGE=p2ptech/cross-build:${{ matrix.docker-images }}
|
||||
- name: Archive production artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: wfb-ng-${{ github.ref_name }}-${{ matrix.docker-images }}
|
||||
path: |
|
||||
deb_dist/*.deb
|
Loading…
Reference in New Issue
Block a user