Skip to content

Update unit-tests.yml #60

Update unit-tests.yml

Update unit-tests.yml #60

Workflow file for this run

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