Skip to content

Commit

Permalink
GitHub Action to build the code
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Jan 11, 2025
1 parent e907571 commit a96a13d
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a96a13d

Please sign in to comment.