-
Notifications
You must be signed in to change notification settings - Fork 7
51 lines (44 loc) · 1.38 KB
/
poetry.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
name: poetry
on: [pull_request, workflow_dispatch]
jobs:
ubuntu-gnu:
if: ${{ vars.CURRENT_TOOL == github.workflow }}
uses: ./.github/workflows/build-ubuntu.yml
with:
workflow: ${{ github.workflow }}
windows-msvc:
if: ${{ vars.CURRENT_TOOL == github.workflow }}
uses: ./.github/workflows/build-windows.yml
with:
workflow: ${{ github.workflow }}
toolset: msvc
test-ubuntu-gnu:
needs: ubuntu-gnu
uses: ./.github/workflows/test-ubuntu.yml
with:
workflow: ${{ github.workflow }}
artifact: build-gnu
test-windows-msvc:
needs: windows-msvc
uses: ./.github/workflows/test-windows.yml
with:
workflow: ${{ github.workflow }}
artifact: build-msvc
test-nanoserver-msvc:
needs: windows-msvc
uses: ./.github/workflows/test-nanoserver.yml
with:
workflow: ${{ github.workflow }}
artifact: build-msvc
release:
needs: [test-ubuntu-gnu, test-windows-msvc, test-nanoserver-msvc]
uses: ./.github/workflows/release.yml
with:
workflow: ${{ github.workflow }}
tool_version: '1.8.2'
prepare_body: |
bsdtar -Oxf ./build-gnu/build-gnu.tar.gz build-gnu.md >> body.md
bsdtar -Oxf ./build-msvc/build-msvc.tar.gz build-msvc.md >> body.md
artifacts: ./build-gnu/build-gnu.tar.gz, ./build-msvc/build-msvc.tar.gz
secrets:
token: ${{ secrets.GITHUB_TOKEN }}