We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b4790e commit ec969e5Copy full SHA for ec969e5
1 file changed
.github/workflows/ci.yml
@@ -19,6 +19,11 @@ on:
19
default: false
20
type: boolean
21
22
+env:
23
+ RUN_MACOS: ${{ !(github.event_name == 'pull_request' ||
24
+ (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/v')) ||
25
+ (github.event_name == 'workflow_dispatch' && inputs.full_build != 'true')) }}
26
+
27
jobs:
28
build-and-test:
29
name: Run on ${{ matrix.os }} with SOFA ${{ matrix.sofa_branch }} / MeshRefinement=${{ matrix.with_mesh_refinement }}
@@ -42,7 +47,9 @@ jobs:
42
47
fail-fast: false
43
48
44
49
matrix:
45
- os: [ubuntu-22.04, windows-2022]
50
+ os: ${{ fromJSON(env.RUN_MACOS == 'true'
51
+ && '["ubuntu-22.04","windows-2022","macos-14"]'
52
+ || '["ubuntu-22.04","windows-2022"]') }}
46
53
54
sofa_branch: [master]
55
with_mesh_refinement: [ON, OFF]
0 commit comments