From a96a13d4eedc77b7f9d640976ddd40f46f2d1717 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sun, 5 Jan 2025 22:42:22 +0100 Subject: [PATCH 1/3] GitHub Action to build the code --- .github/workflows/build.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..f944753 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,31 @@ +name: build +on: + push: + pull_request: + branches: [master] + workflow_dispatch: +jobs: + build: + strategy: + fail-fast: false + max-parallel: 5 + matrix: # TODO: Add all the following OSes... + # os: [macos-13, macos-latest, ubuntu-latest, windows-latest, windows-2025] + os: [macos-13, ubuntu-latest] # macOS on Intel and Ubuntu builds succeed. + runs-on: ${{ matrix.os }} + steps: + # On macOS install https://www.gnu.org/software/automake + - if: runner.os == 'macOS' + run: brew install automake + # - if: runner.os == 'Windows' + # shell: bash # Not pwsh on Windows + # # https://community.chocolatey.org/packages/automake Does not exist!! + # # run: choco install automake + # # run: choco install make # GNU make + - uses: actions/checkout@v4 + - shell: bash # Not pwsh on Windows + run: | + ./autogen.sh + ./configure + make + sudo make install From 25611820ea77950c7f4ee4a378841913a8df9031 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Thu, 23 Jan 2025 22:14:52 +0100 Subject: [PATCH 2/3] Test on ubuntu-24.04-arm --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f944753..43eaf7c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,8 +10,8 @@ jobs: fail-fast: false max-parallel: 5 matrix: # TODO: Add all the following OSes... - # os: [macos-13, macos-latest, ubuntu-latest, windows-latest, windows-2025] - os: [macos-13, ubuntu-latest] # macOS on Intel and Ubuntu builds succeed. + # os: [macos-13, macos-latest, ubuntu-latest, ubuntu-24.04-arm, windows-latest, windows-2025] + os: [macos-13, ubuntu-latest, ubuntu-24.04-arm] # macOS on Intel and Ubuntu builds succeed. runs-on: ${{ matrix.os }} steps: # On macOS install https://www.gnu.org/software/automake From c22fd3920bb9597e784cee1d0a04914b2d756765 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 1 Dec 2025 10:31:29 +0100 Subject: [PATCH 3/3] GitHub Actions will drop `macos-13` in 3 days --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 43eaf7c..483cccf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,8 +10,8 @@ jobs: fail-fast: false max-parallel: 5 matrix: # TODO: Add all the following OSes... - # os: [macos-13, macos-latest, ubuntu-latest, ubuntu-24.04-arm, windows-latest, windows-2025] - os: [macos-13, ubuntu-latest, ubuntu-24.04-arm] # macOS on Intel and Ubuntu builds succeed. + # os: [macos-15-intel, macos-latest, ubuntu-latest, ubuntu-24.04-arm, windows-latest, windows-2025] + os: [macos-15-intel, ubuntu-latest, ubuntu-24.04-arm] # macOS on Intel and Ubuntu builds succeed. runs-on: ${{ matrix.os }} steps: # On macOS install https://www.gnu.org/software/automake