Skip to content

Update web platform tests #1156

Update web platform tests

Update web platform tests #1156

Workflow file for this run

name: macOS (Installation)
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- '**.md'
- 'docs/**'
push:
branches:
- main
paths-ignore:
- '**.md'
- 'docs/**'
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
macos-build:
strategy:
matrix:
shared: [OFF]
runs-on: [macos-13, macos-14, macos-15]
runs-on: ${{matrix.runs-on}}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Prepare
run: cmake -D ADA_TESTING=ON -DBUILD_SHARED_LIBS=${{matrix.shared}} -DCMAKE_INSTALL_PREFIX:PATH=destination -B build
- name: Build
run: cmake --build build -j=3
- name: Install
run: cmake --install build
- name: Prepare test package
run: cmake -DCMAKE_INSTALL_PREFIX:PATH=../../destination -S tests/installation -B buildbabyada
- name: Build test package
run: cmake --build buildbabyada
- name: Run example
run: ./buildbabyada/main