Skip to content

Support macOS frameworks; update CI workflows for alr v2(.0.1). #1

Support macOS frameworks; update CI workflows for alr v2(.0.1).

Support macOS frameworks; update CI workflows for alr v2(.0.1). #1

Workflow file for this run

---
name: CI macOS (Frameworks)
on:
workflow_dispatch:
pull_request:
jobs:
build:
name: CI on macOS (Frameworks)
runs-on: macos-12
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: alire-project/setup-alire
uses: alire-project/setup-alire@v3
-
name: Install toolchain
run: |
alr --non-interactive settings --global --set toolchain.assistant false
alr --non-interactive toolchain --select gnat_native
alr --non-interactive toolchain --select gprbuild
-
name: Disable Homebrew
run: rm -f $(which brew)
shell: bash
-
name: Install SDL2.framework to ~/Library/Frameworks
uses: BrettDong/setup-sdl2-frameworks@main
-
name: Copy SDL2.framework to /Library/Frameworks
run: sudo cp -pR ~/Library/Frameworks/SDL2.framework /Library/Frameworks
shell: bash
-
name: Build and run
run: |
alr --non-interactive build