From f5d3da605a9e5b477af58efd28a39bd9591aa75c Mon Sep 17 00:00:00 2001 From: "Tobias Wellnitz, DH1TW" Date: Sun, 28 Jan 2024 01:43:21 +0100 Subject: [PATCH] actions - linux matrix build --- .github/workflows/build.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..b141c6b --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,29 @@ +name: Cross Platform build + +on: [push, pull_request] + +jobs: + build_linux: + runs-on: ubuntu-22.04 + strategy: + matrix: + go: ["1.6", "1.7", "1.8", "1.9", "1.10", "1.11", "1.12", "1.13", "1.14", "1.15", "1.16", "1.17", "1.18", "1.19", "1.20", "1.21"] + steps: + - + name: Set up Go ${{ matrix.go }} + uses: actions/setup-go@v4 + id: go + with: + go-version: ${{ matrix.go }} + - + name: Checkout source code + uses: actions/checkout@v4 + with: + submodules: true + - + name: Install dependencies + run: | + sudo apt install libsamperate0 libsamplerate0-dev + - + name: Compile + run: go build \ No newline at end of file