aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/c.yml24
-rw-r--r--.github/workflows/python.yml2
2 files changed, 25 insertions, 1 deletions
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