From 208b66a4e5513279c5b9cce4362b39b7f1b67704 Mon Sep 17 00:00:00 2001 From: Yegor Yefremov Date: Tue, 25 Nov 2025 10:38:44 +0100 Subject: [PATCH] Add Build tests workflow This workflow builds the package with both CMake and autoconf. --- .github/workflows/build.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..f187344 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,23 @@ +name: Build tests +on: [push, pull_request] +jobs: + build: + strategy: + matrix: + os: [ windows-latest, ubuntu-latest, macos-latest ] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v6 + with: + architecture: 'x64' + # install dependencies + - name: CMake build + run: cmake -B build && cmake --build build + + - name: autoconf build + if: ${{ matrix.os == 'ubuntu-latest' }} + run: | + autoreconf -if + ./configure + make clean + make