Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 18 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,26 @@ on:
jobs:
build:

runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest # x86_64 Linux
- ubuntu-24.04-arm # ARM64 Linux
- macos-15-intel # Intel macOS
- macos-latest # ARM64 macOS
- windows-latest # x86_64 Windows
runs-on: ${{ matrix.os }}

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v5

- name: Set up GNAT toolchain
run: >
sudo apt-get update &&
sudo apt-get install gnat gprbuild
- name: Set up Alire
uses: alire-project/setup-alire@v5

- name: Build
run: gprbuild -j0 -p
- name: Build project
run: alr build

- name: Run tests
run: alr test
1 change: 1 addition & 0 deletions src/c.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include <sys/types.h> // Needed on macOS to get FILE definition early
#include <stdio.h>

void sl_flush_stdout(void) {
Expand Down
Loading