Skip to content

Use cached session to avoid use expensive crypto_box_open_easy on eve… #238

Use cached session to avoid use expensive crypto_box_open_easy on eve…

Use cached session to avoid use expensive crypto_box_open_easy on eve… #238

Workflow file for this run

name: WFB-ng package builder for debian
on:
push:
branches: [ master, release-24.08, release-25.01 ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master, stable ]
jobs:
build_and_test:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
version: [11, 12, "13"]
arch: [ "armhf.arm32v7.max.-march=armv7-a+simd", "arm64.arm64v8.cortex-a53.-march=armv8-a+simd", "amd64.amd64.max.-mssse3 -mavx -mvzeroupper", "mips64le.mips64le.MIPS64R2-generic", "s390x.s390x.max", "ppc64le.ppc64le.power8", "riscv64.riscv64.rv64" ]
exclude:
- version: 11
arch: "riscv64.riscv64.rv64"
- version: 11
arch: "mips64le.mips64le.MIPS64R2-generic"
- version: 11
arch: "s390x.s390x.max"
- version: 11
arch: "ppc64le.ppc64le.power8"
- version: 12
arch: "riscv64.riscv64.rv64"
- version: "13"
arch: "mips64le.mips64le.MIPS64R2-generic"
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: eval version
id: get_version
run: |
echo "version=debian${{ matrix.version }}-$(echo "${{ matrix.arch }}" | cut -f1 -d .)" >> $GITHUB_OUTPUT
- name: build package
run: |
curl -s -L https://github.com/svpcom/wfb-ng/releases/download/wifibroadcast-17.10/qemu-7.2.15-fixed.tar.gz | sudo tar xzv -C /
make deb_docker CFLAGS="$(echo ${{ matrix.arch }} | cut -f4 -d.)" QEMU_CPU=$(echo ${{ matrix.arch }} | cut -f3 -d.) DOCKER_ARCH=$(echo ${{ matrix.arch }} | cut -f1 -d.) DOCKER_SRC_IMAGE=$(echo ${{ matrix.arch }} | cut -f2 -d.)/debian:${{ matrix.version }}
- name: Archive production artifacts
uses: actions/upload-artifact@v4
id: artifact-upload-step
if: github.event_name != 'pull_request'
with:
name: wfb-ng-${{ github.ref_name }}-${{ steps.get_version.outputs.version }}
path: |
deb_dist/*.deb