diff options
Diffstat (limited to '.github/workflows/ci.yml')
| -rw-r--r-- | .github/workflows/ci.yml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..b77de00 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,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 |
