forked from Slicer/Slicer
-
Notifications
You must be signed in to change notification settings - Fork 1
48 lines (43 loc) · 1.04 KB
/
ci.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
name: CI
on:
# Triggers the workflow on push or pull request events
push:
branches:
- "master"
paths-ignore:
- "COPYRIGHT.txt"
- "License.txt"
- "README.txt"
- "requirements-docs.txt"
- "SuperBuild.cmake"
- "SuperBuild/**"
- "**.md"
- "Docs/**"
pull_request:
branches:
- "*"
paths-ignore:
- "COPYRIGHT.txt"
- "License.txt"
- "README.txt"
- "requirements-docs.txt"
- "SuperBuild.cmake"
- "SuperBuild/**"
- "**.md"
- "Docs/**"
# Allows running this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build-slicer:
name: Build Slicer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: 'Build Slicer'
uses: ./.github/actions/slicer-build
- name: 'Upload Slicer package'
uses: actions/upload-artifact@v2
with:
name: slicer-package
path: ${{ github.workspace }}/${{ steps.slicer-build.outputs.package }}
retention-days: 1