Files
svd2ada/.github/workflows/main.yml
Simon Wright 1c854eab4d CI runs on latest OSs
* .github/workflows/main.yml:
    (gnat_version): removed.
    (gprbuild_version): removed.
    (actions/checkout): v3.
    (project/setup-alire): v3.
    (toolchain): specify gnat_native before gprbuild, to avoid picking
      mismatched versions.
2024-09-03 14:04:46 +01:00

22 lines
557 B
YAML

on:
push:
pull_request:
workflow_dispatch:
env:
SVD2ADA_COMPILE_CHECKS: enabled
SVD2ADA_RUNTIME_CHECKS: enabled
SVD2ADA_STYLE_CHECKS: enabled
SVD2ADA_CONTRACTS: enabled
jobs:
build:
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: alire-project/setup-alire@v3
with:
toolchain: gnat_native${{ matrix.gnat_version }} gprbuild${{ matrix.gprbuild_version }} --disable-assistant
- run: alr build