Update unit-tests.yml #60
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Tests | |
on: | |
push: | |
branches: [ main, workflows ] | |
pull_request: | |
branches: [ main, workflows ] | |
jobs: | |
build: | |
name: CI on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-latest, ubuntu-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: alire-project/setup-alire@v2 | |
uses: alire-project/setup-alire@v2 | |
- name: Build | |
working-directory: tests/ | |
run: | | |
alr index --reset-community | |
alr config --global --set toolchain.assistant false | |
alr toolchain --install gnat_native --non-interactive | |
alr toolchain --install gprbuild --non-interactive | |
alr toolchain --select gnat_native --non-interactive | |
alr toolchain --select gprbuild --non-interactive | |
alr build --non-interactive | |
alr run |