1
# SPDX-License-Identifier: LGPL-2.1-or-later
2
# ***************************************************************************
4
# * Copyright (c) 2023 0penBrain. *
6
# * This file is part of FreeCAD. *
8
# * FreeCAD is free software: you can redistribute it and/or modify it *
9
# * under the terms of the GNU Lesser General Public License as *
10
# * published by the Free Software Foundation, either version 2.1 of the *
11
# * License, or (at your option) any later version. *
13
# * FreeCAD is distributed in the hope that it will be useful, but *
14
# * WITHOUT ANY WARRANTY; without even the implied warranty of *
15
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
16
# * Lesser General Public License for more details. *
18
# * You should have received a copy of the GNU Lesser General Public *
19
# * License along with FreeCAD. If not, see *
20
# * <https://www.gnu.org/licenses/>. *
22
# ***************************************************************************
24
# This is the master workflow for CI of FreeCAD.
25
# It (only) aims at properly organizing the sub-workflows.
27
name: FreeCAD master CI
29
on: [workflow_dispatch, push, pull_request]
32
group: FC-CI-${{ github.head_ref || github.run_id }}
33
cancel-in-progress: true
38
uses: ./.github/workflows/sub_prepare.yml
40
artifactBasename: Prepare-${{ github.run_id }}
42
# GA in Jan-Mar 2024 Timeframe: https://github.com/actions/runner-images/issues/8439#issuecomment-1755601587
43
# MacOS_13_Conda_Apple:
45
# uses: ./.github/workflows/sub_buildMacOSCondaApple.yml
47
# artifactBasename: MacOS_13_Conda_Apple-${{ github.run_id }}
51
uses: ./.github/workflows/sub_buildMacOSCondaIntel.yml
53
artifactBasename: MacOS_13_Conda_Intel-${{ github.run_id }}
57
uses: ./.github/workflows/sub_buildUbuntu2004.yml
59
artifactBasename: Ubuntu_20-04-${{ github.run_id }}
63
uses: ./.github/workflows/sub_buildUbuntu2204Conda.yml
65
artifactBasename: Ubuntu_22-04_Conda-${{ github.run_id }}
69
uses: ./.github/workflows/sub_buildWindows.yml
71
artifactBasename: Windows-${{ github.run_id }}
75
uses: ./.github/workflows/sub_buildWindowsConda.yml
77
artifactBasename: Windows_Conda-${{ github.run_id }}
81
uses: ./.github/workflows/sub_lint.yml
83
artifactBasename: Lint-${{ github.run_id }}
84
changedFiles: ${{ needs.Prepare.outputs.changedFiles }}
85
changedCppFiles: ${{ needs.Prepare.outputs.changedCppFiles }}
86
changedPythonFiles: ${{ needs.Prepare.outputs.changedPythonFiles }}
91
# MacOS_13_Conda_Apple,
100
uses: ./.github/workflows/sub_wrapup.yml
102
previousSteps: ${{ toJSON(needs) }}