diff options
author | Matt Strapp <matt@mattstrapp.net> | 2024-08-06 22:38:39 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2024-08-06 22:38:39 -0500 |
commit | 84aa603bcc65d34a60b82553a8832d673d5d65e9 (patch) | |
tree | 32c22a964932d2f8c358a36585529554175bb6e0 /.github/workflows | |
parent | chore: Update workflow names and descriptions for consistency (diff) | |
download | locusts-84aa603bcc65d34a60b82553a8832d673d5d65e9.tar locusts-84aa603bcc65d34a60b82553a8832d673d5d65e9.tar.gz locusts-84aa603bcc65d34a60b82553a8832d673d5d65e9.tar.bz2 locusts-84aa603bcc65d34a60b82553a8832d673d5d65e9.tar.lz locusts-84aa603bcc65d34a60b82553a8832d673d5d65e9.tar.xz locusts-84aa603bcc65d34a60b82553a8832d673d5d65e9.tar.zst locusts-84aa603bcc65d34a60b82553a8832d673d5d65e9.zip |
Attempt to add autoconf
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/c.yml | 24 | ||||
-rw-r--r-- | .github/workflows/python.yml | 2 |
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 |