File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 default : false
2020 type : boolean
2121
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-
22+
2723jobs :
2824 build-and-test :
2925 name : Run on ${{ matrix.os }} with SOFA ${{ matrix.sofa_branch }} / MeshRefinement=${{ matrix.with_mesh_refinement }}
4743 fail-fast : false
4844
4945 matrix :
50- os : ${{ fromJSON(env.RUN_MACOS == 'true'
51- && '["ubuntu-22.04","windows-2022","macos-14"]'
52- || '["ubuntu-22.04","windows-2022"]') }}
46+ os : ${{ fromJSON(
47+ (github.event_name == 'pull_request' ||
48+ (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/v')) ||
49+ (github.event_name == 'workflow_dispatch' && inputs.full_build != 'true'))
50+ && '["ubuntu-22.04","windows-2022"]'
51+ || '["ubuntu-22.04","windows-2022","macos-14"]'
52+ ) }}
5353
5454 sofa_branch : [master]
5555 with_mesh_refinement : [ON, OFF]
You can’t perform that action at this time.
0 commit comments