On macOS, compile C with clang. #3
Workflow file for this run
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: CI Linux | |
on: | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
build: | |
name: CI on linux | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v4 | |
- | |
name: alire-project/setup-alire | |
uses: alire-project/setup-alire@v2 | |
- | |
name: Install toolchain | |
run: | | |
alr --non-interactive config --global --set toolchain.assistant false | |
alr --non-interactive toolchain --install gnat_native | |
alr --non-interactive toolchain --install gprbuild | |
alr --non-interactive toolchain --select gnat_native | |
alr --non-interactive toolchain --select gprbuild | |
- | |
name: Build and run | |
run: | | |
alr --non-interactive build |