mirror of
https://github.com/AdaCore/OpenUxAS.git
synced 2026-02-12 13:07:16 -08:00
53 lines
1.5 KiB
YAML
53 lines
1.5 KiB
YAML
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:
|
|
os: [ubuntu-18.04, ubuntu-20.04]
|
|
component: [amase]
|
|
qualifier: [scenario=release]
|
|
python-version: [3.7, 3.8]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
path: OpenUxAS
|
|
|
|
- name: Set up python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- 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}}
|