Skip to content

Commit a96a13d

Browse files
committed
GitHub Action to build the code
1 parent e907571 commit a96a13d

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/build.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: build
2+
on:
3+
push:
4+
pull_request:
5+
branches: [master]
6+
workflow_dispatch:
7+
jobs:
8+
build:
9+
strategy:
10+
fail-fast: false
11+
max-parallel: 5
12+
matrix: # TODO: Add all the following OSes...
13+
# os: [macos-13, macos-latest, ubuntu-latest, windows-latest, windows-2025]
14+
os: [macos-13, ubuntu-latest] # macOS on Intel and Ubuntu builds succeed.
15+
runs-on: ${{ matrix.os }}
16+
steps:
17+
# On macOS install https://www.gnu.org/software/automake
18+
- if: runner.os == 'macOS'
19+
run: brew install automake
20+
# - if: runner.os == 'Windows'
21+
# shell: bash # Not pwsh on Windows
22+
# # https://community.chocolatey.org/packages/automake Does not exist!!
23+
# # run: choco install automake
24+
# # run: choco install make # GNU make
25+
- uses: actions/checkout@v4
26+
- shell: bash # Not pwsh on Windows
27+
run: |
28+
./autogen.sh
29+
./configure
30+
make
31+
sudo make install

0 commit comments

Comments
 (0)