FreeCAD

Форк
0
/
CI_master.yml 
102 строки · 3.8 Кб
1
# SPDX-License-Identifier: LGPL-2.1-or-later
2
# ***************************************************************************
3
# *                                                                         *
4
# *   Copyright (c) 2023 0penBrain.                                         *
5
# *                                                                         *
6
# *   This file is part of FreeCAD.                                         *
7
# *                                                                         *
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.                       *
12
# *                                                                         *
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.                       *
17
# *                                                                         *
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/>.                                      *
21
# *                                                                         *
22
# ***************************************************************************
23

24
# This is the master workflow for CI of FreeCAD.
25
# It (only) aims at properly organizing the sub-workflows.
26

27
name: FreeCAD master CI
28

29
on: [workflow_dispatch, push, pull_request]
30

31
concurrency:
32
  group: FC-CI-${{ github.head_ref || github.run_id }}
33
  cancel-in-progress: true
34

35
jobs:
36

37
  Prepare:
38
    uses: ./.github/workflows/sub_prepare.yml
39
    with:
40
      artifactBasename: Prepare-${{ github.run_id }}
41

42
  # GA in Jan-Mar 2024 Timeframe: https://github.com/actions/runner-images/issues/8439#issuecomment-1755601587
43
  # MacOS_13_Conda_Apple:
44
  #   needs: [Prepare]
45
  #   uses: ./.github/workflows/sub_buildMacOSCondaApple.yml
46
  #   with:
47
  #     artifactBasename: MacOS_13_Conda_Apple-${{ github.run_id }}
48

49
  MacOS_13_Conda_Intel:
50
    needs: [Prepare]
51
    uses: ./.github/workflows/sub_buildMacOSCondaIntel.yml
52
    with:
53
      artifactBasename: MacOS_13_Conda_Intel-${{ github.run_id }}
54

55
  Ubuntu_20-04:
56
    needs: [Prepare]
57
    uses: ./.github/workflows/sub_buildUbuntu2004.yml
58
    with:
59
      artifactBasename: Ubuntu_20-04-${{ github.run_id }}
60

61
  Ubuntu_22-04_Conda:
62
    needs: [Prepare]
63
    uses: ./.github/workflows/sub_buildUbuntu2204Conda.yml
64
    with:
65
      artifactBasename: Ubuntu_22-04_Conda-${{ github.run_id }}
66

67
  Windows:
68
    needs: [Prepare]
69
    uses: ./.github/workflows/sub_buildWindows.yml
70
    with:
71
      artifactBasename: Windows-${{ github.run_id }}
72

73
  Windows_Conda:
74
    needs: [Prepare]
75
    uses: ./.github/workflows/sub_buildWindowsConda.yml
76
    with:
77
      artifactBasename: Windows_Conda-${{ github.run_id }}
78

79
  Lint:
80
    needs: [Prepare]
81
    uses: ./.github/workflows/sub_lint.yml
82
    with:
83
      artifactBasename: Lint-${{ github.run_id }}
84
      changedFiles: ${{ needs.Prepare.outputs.changedFiles }}
85
      changedCppFiles: ${{ needs.Prepare.outputs.changedCppFiles }}
86
      changedPythonFiles: ${{ needs.Prepare.outputs.changedPythonFiles }}
87

88
  WrapUp:
89
    needs: [
90
        Prepare,
91
        # MacOS_13_Conda_Apple,
92
        MacOS_13_Conda_Intel,
93
        Ubuntu_20-04,
94
        Ubuntu_22-04_Conda,
95
        Windows,
96
        Windows_Conda,
97
        Lint
98
      ]
99
    if: always()
100
    uses: ./.github/workflows/sub_wrapup.yml
101
    with:
102
      previousSteps: ${{ toJSON(needs) }}
103

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.