forked from jfuica/bingada
-
Notifications
You must be signed in to change notification settings - Fork 1
55 lines (44 loc) · 1.25 KB
/
ada.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Ada (GNAT)
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Set up GNAT toolchain and libraries
run: >
sudo apt-get update &&
sudo apt-get install gnat gprbuild make libcanberra-dev libgtkada19-dev libsfml-dev libcsfml-dev
- name: Build with none audio
run: >
gprbuild -j0 -p -XSOUND_LIB=none -P bingada_custom.gpr
- name: Build with sfml audio
run: >
gprbuild -j0 -p -XSOUND_LIB=sfml -P bingada_custom.gpr
- name: Build with canberra audio
run: >
cd libs/canberra-ada &&
make &&
cd ../.. &&
gprbuild -j0 -p -XSOUND_LIB=canberra -P bingada_custom.gpr
- name: Build with asfml audio
run: >
gprbuild -j0 -p -XSOUND_LIB=asfml -P bingada_custom.gpr
- name: Build AppImage
run: make AppImage
- name: Create Release
uses: ncipollo/release-action@v1
with:
allowUpdates: True
tag: continuous
name: Continuous build
prerelease: True
artifacts: "BingAda*.AppImage"
token: ${{ secrets.GITHUB_TOKEN }}