forked from prusa3d/PrusaSlicer
-
Notifications
You must be signed in to change notification settings - Fork 4
61 lines (53 loc) · 1.22 KB
/
build.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
name: Build
on:
push:
# branches:
# - boss
# - release/*
paths:
- 'deps/**'
- 'src/**'
- '**/CMakeLists.txt'
- 'version.inc'
- 'resources/**'
- ".github/workflows/*.yml"
- "build_release_linux.sh"
- "build_release_macos.sh"
- "build_win.bat"
pull_request:
branches:
- boss
- release/*
paths:
- 'deps/**'
- 'src/**'
- '**/CMakeLists.txt'
- 'version.inc'
- ".github/workflows/*.yml"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build_linux:
name: Build on Linux
uses: ./.github/workflows/build_linux.yml
secrets: inherit
build_macos:
name: Build on MacOS
uses: ./.github/workflows/build_macos.yml
secrets: inherit
build_windows:
name: Build on Windows
uses: ./.github/workflows/build_windows.yml
secrets: inherit
release:
name: Release
uses: ./.github/workflows/release.yml
needs:
- build_linux
- build_macos
- build_windows
secrets: inherit
permissions:
contents: write