Skip to content

Commit 65d404f

Browse files
committed
Preliminary github actions support
1 parent d65acee commit 65d404f

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.github/workflows/build.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Build
2+
on: [push]
3+
jobs:
4+
build-mac:
5+
runs-on: macos-latest
6+
steps:
7+
- run: echo "This job is now running on a ${{ runner.os }} server hosted by GitHub!"
8+
- run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
9+
- name: Check out repository code
10+
uses: actions/checkout@v2
11+
- run: brew install automake
12+
- run: autoreconf -i
13+
- run: ./configure --enable-warning-as-error
14+
- run: make all
15+
- run: make dist
16+
build-linux:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- run: echo "This job is now running on a ${{ runner.os }} server hosted by GitHub!"
20+
- run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
21+
- name: Check out repository code
22+
uses: actions/checkout@v2
23+
- run: autoreconf -i
24+
- run: ./configure --enable-warning-as-error
25+
- run: make all
26+
- run: make dist
27+
build-win:
28+
runs-on: windows-latest
29+
defaults:
30+
run:
31+
shell: msys2 {0}
32+
steps:
33+
- uses: actions/checkout@v2
34+
- uses: msys2/setup-msys2@v2
35+
with:
36+
msystem: MINGW64
37+
update: true
38+
install: mingw-w64-x86_64-gcc autoconf automake make
39+
- run: autoreconf -i
40+
- run: ./configure --enable-warning-as-error
41+
- run: make all
42+
- run: make dist
43+

0 commit comments

Comments
 (0)