mirror of
https://github.com/AdaCore/svd2ada.git
synced 2026-02-12 12:27:20 -08:00
* .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.
22 lines
557 B
YAML
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
|