-
Notifications
You must be signed in to change notification settings - Fork 25
54 lines (49 loc) · 1.53 KB
/
amase.yaml
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
on:
pull_request:
paths:
- 'infrastructure/uxas/**'
- 'infrastructure/paths.sh'
- 'infrastructure/specs/amase.anod'
- 'anod'
push:
paths:
- 'infrastructure/uxas/**'
- 'infrastructure/paths.sh'
- 'infrastructure/specs/amase.anod'
- 'anod'
schedule:
- cron: '45 3 * * 4'
workflow_dispatch:
name: Build OpenAMASE
jobs:
build:
strategy:
fail-fast: false
matrix:
env: [
{os: ubuntu-20.04, python: '3.8'},
{os: ubuntu-22.04, python: '3.10'}
]
component: [amase]
qualifier: [scenario=release]
runs-on: ${{ matrix.env.os }}
steps:
- uses: actions/checkout@v2
with:
path: OpenUxAS
- name: Set up python ${{ matrix.env.python }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.env.python }}
- name: Set up java
uses: actions/setup-java@v1
with:
java-version: '11'
- name: Install infrastructure
run: |
cd OpenUxAS
infrastructure/install -vv --no-gnat --no-java -y
- name: Build OpenAMASE
run: |
cd OpenUxAS
./anod -v build ${{ matrix.component }} --qualifier=${{ matrix.qualifier}}