From 35f429cb6d530a4fc5205bd8c928e56864fac108 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 1 Jul 2026 18:52:47 +0100 Subject: [PATCH] macOS too. --- .github/workflows/regress.yml | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/.github/workflows/regress.yml b/.github/workflows/regress.yml index 10ed437f8..096873446 100644 --- a/.github/workflows/regress.yml +++ b/.github/workflows/regress.yml @@ -14,14 +14,27 @@ concurrency: jobs: regress: - runs-on: ubuntu-latest - timeout-minutes: 30 + name: ${{ matrix.name }} + runs-on: ${{ matrix.runner }} + timeout-minutes: 45 + + strategy: + fail-fast: false + matrix: + include: + - name: ubuntu-24.04-x64 + runner: ubuntu-24.04 + - name: ubuntu-24.04-arm64 + runner: ubuntu-24.04-arm + - name: macos-26-arm64 + runner: macos-26 steps: - name: checkout uses: actions/checkout@v4 - name: dependencies + if: runner.os == 'Linux' run: | sudo apt-get update sudo apt-get install -y \ @@ -33,11 +46,22 @@ jobs: libncurses-dev \ pkg-config + - name: dependencies + if: runner.os == 'macOS' + run: | + brew install \ + autoconf \ + automake \ + bison \ + libevent \ + ncurses \ + pkg-config + - name: build run: | sh autogen.sh ./configure - make -j"$(nproc)" + make -j"$(getconf _NPROCESSORS_ONLN)" - name: test run: |