From 84aa603bcc65d34a60b82553a8832d673d5d65e9 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Tue, 6 Aug 2024 22:38:39 -0500 Subject: Attempt to add autoconf Signed-off-by: Matt Strapp --- .github/workflows/c.yml | 24 ++++++++++++++++++++++++ .github/workflows/python.yml | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/.github/workflows/c.yml b/.github/workflows/c.yml index 0952950..9b37af1 100644 --- a/.github/workflows/c.yml +++ b/.github/workflows/c.yml @@ -13,6 +13,30 @@ on: - ".github/workflows/c.yml" jobs: + autoconf: + name: Autoconf Builds + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Setup MSYS2 on Windows + if: matrix.os == 'windows-latest' + uses: msys2/setup-msys2@v2 + with: + msystem: UCRT64 + update: true + install: autoconf mingw-w64-ucrt-x86_64-gcc + - name: Run Autoconf + run: autoreconf -fi + - name: Configure + run: ./configure + - name: Build + run: make + cmake: name: CMake Builds runs-on: ${{ matrix.os }} diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index f75c9d6..bf6e958 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -39,7 +39,7 @@ jobs: publish: name: Publish to PyPI needs: build-and-test - if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') }} + if: ${{ github.event_name == 'tag' && startsWith(github.ref, 'refs/tags') }} runs-on: ubuntu-latest permissions: id-token: write -- cgit v1.2.3