forked from zeroc-ice/ice
-
Notifications
You must be signed in to change notification settings - Fork 0
90 lines (79 loc) · 2.71 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
name: Build and test
on:
workflow_dispatch:
push:
branches: ["matlab"]
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 || matrix.language }} on ${{ matrix.os }}
strategy:
matrix:
language: [matlab]
os: [ubuntu-latest, windows-latest]
# strategy:
# matrix:
# language: [cpp]
# os: [macos-14, ubuntu-latest, windows-latest]
# name: [""]
# make_flags: [""]
# test_flags: [""]
# include:
# - os: macos-14
# language: swift
# - os: macos-14
# language: python
# - os: macos-14
# language: php
# - os: macos-14
# language: ruby
# - os: macos-14
# language: cpp
# name: "xcodesdk"
# make_flags: "CONFIGS=xcodesdk PLATFORMS='iphonesimulator'"
# test_flags: "--config=xcodesdk --platform=iphonesimulator --controller-app"
# - os: ubuntu-latest
# language: csharp
# - os: ubuntu-latest
# language: java
# - os: ubuntu-latest
# language: php
# - os: ubuntu-latest
# language: ruby
# - os: ubuntu-latest
# language: python
# - os: ubuntu-latest
# language: js
# - os: ubuntu-latest
# language: matlab
# - os: windows-latest
# language: python
# - os: windows-latest
# language: matlab
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.name || matrix.language }} ${{matrix.make_flags}} on ${{ matrix.os }}
uses: ./.github/actions/build
timeout-minutes: 90
with:
language: ${{ matrix.language }}
make_flags: ${{ matrix.make_flags }}
- name: Test ${{ matrix.name || matrix.language }} on ${{ matrix.os }}
uses: ./.github/actions/test
timeout-minutes: 90
with:
# See:
# - https://github.com/zeroc-ice/ice/issues/1653
# - https://github.com/zeroc-ice/ice/issues/1745
flags: "--rfilter IceGrid/replication --rfilter csharp/IceSSL/configuration ${{ matrix.test_flags }}"