Skip to content

Fixes

Fixes #136

Workflow file for this run

name: Build and test
on:
workflow_dispatch:
push:
branches: ["main", "restructure-ci"]
pull_request:
# The branches below must be a subset of the branches above
branches: ["main"]
# See https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
ci:
name: ${{ matrix.name }} on ${{ matrix.os }}
strategy:
matrix:
os: [macos-14, ubuntu-latest, windows-latest]
config:
- name: "default"
make_flags: ""
test_flags: ""
- name: "debug"
make_flags: "OPTIMIZE=no"
test_flags: ""
include:
- os: macos-14
config:
- name: "xcodesdk"
make_flags: "CONFIGS=xcodesdk PLATFORMS=iphonesimulator"
test_flags: "--config=xcodesdk --platform=iphonesimulator --controller-app"
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Dependencies
uses: ./.github/actions/setup-dependencies
- name: Build ${{ matrix.config.name }} on ${{ matrix.os }}
uses: ./.github/actions/build
timeout-minutes: 90
with:
make_flags: ${{ matrix.config.make_flags }}
- name: Test ${{ matrix.config.name }} on ${{ matrix.os }}
uses: ./.github/actions/test
timeout-minutes: 90
with:
# See:
# - https://github.com/zeroc-ice/ice/issues/1653 IceGrid/replication
# - https://github.com/zeroc-ice/ice/issues/1945 matlab/Ice/slicing
flags: "--rfilter=IceGrid/replication --rfilter=matlab/Ice/slicing ${{ matrix.config.test_flags }}"