summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
blob: b77de00a05b06220587c66d6325146162001127a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: CI

on:
  push:
    branches: [main, preview-source-tree]
  pull_request:
    branches: [main, preview-source-tree]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v5

      - name: Install build tools
        run: |
          sudo apt-get update
          sudo apt-get install -y build-essential cmake libasound2-dev pkg-config libncurses-dev

      - name: Configure
        run: cmake -B build -DCMAKE_BUILD_TYPE=Release -DMAX25_BUNDLE_AX25=OFF

      - name: Build merged stacks
        run: cmake --build build -j$(nproc)

      - name: Offline tests
        run: cmake --build build --target max25_test

      - name: Release gates
        run: bash scripts/release-check.sh
git clone -b <branch> https://cgit.mode42.com/<repo>.git
git clone -b <branch> git://cgit.mode42.com/<repo>.git

info@mode42.com