| 1 |
name: Build |
| 2 |
|
| 3 |
on: |
| 4 |
push: |
| 5 |
branches: [ main ] |
| 6 |
pull_request: |
| 7 |
branches: [ main ] |
| 8 |
|
| 9 |
jobs: |
| 10 |
build: |
| 11 |
|
| 12 |
runs-on: ubuntu-latest |
| 13 |
|
| 14 |
steps: |
| 15 |
- name: Checkout |
| 16 |
uses: actions/checkout@v2 |
| 17 |
|
| 18 |
- name: Set up GNAT toolchain |
| 19 |
run: > |
| 20 |
sudo apt-get update && |
| 21 |
sudo apt-get install gnat gprbuild |
| 22 |
|
| 23 |
- name: Set up Alire |
| 24 |
uses: alire-project/setup-alire@latest-stable |
| 25 |
|
| 26 |
- name: Build |
| 27 |
run: | |
| 28 |
alr update -f -n # force to accept curl missing |
| 29 |
alr with --versions |
| 30 |
alr build |