-
Notifications
You must be signed in to change notification settings - Fork 7
56 lines (49 loc) · 1.62 KB
/
redis.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
name: redis
on: [pull_request, workflow_dispatch]
jobs:
alpine-musl:
if: ${{ vars.CURRENT_TOOL == github.workflow }}
uses: ./.github/workflows/build-alpine.yml
with:
workflow: ${{ github.workflow }}
toolset: musl
version: 3.16
alpine-musl-test:
needs: alpine-musl
uses: ./.github/workflows/test-alpine.yml
with:
workflow: ${{ github.workflow }}
artifact: build-musl
ubuntu-musl-test:
needs: alpine-musl
uses: ./.github/workflows/test-ubuntu.yml
with:
workflow: ${{ github.workflow }}
artifact: build-musl
windows-msys2:
if: ${{ vars.CURRENT_TOOL == github.workflow }}
uses: ./.github/workflows/build-windows-msys2.yml
with:
workflow: ${{ github.workflow }}
msys2_install: gcc make pkg-config libopenssl openssl-devel mingw-w64-x86_64-libc++
test-windows:
needs: windows-msys2
if: ${{ vars.CURRENT_TOOL == github.workflow }}
uses: ./.github/workflows/test-windows.yml
with:
workflow: ${{ github.workflow }}
artifact: build-msys2
release:
needs: [alpine-musl-test,
ubuntu-musl-test,
test-windows]
uses: ./.github/workflows/release.yml
with:
workflow: ${{ github.workflow }}
tool_version: '7.2.5'
prepare_body: |
bsdtar -Oxf ./build-musl/build-musl.tar.gz build-musl.md >> body.md
bsdtar -Oxf ./build-msys2/build-msys2.tar.gz build-msys2.md >> body.md
artifacts: ./build-musl/build-musl.tar.gz,./build-msys2/build-msys2.tar.gz
secrets:
token: ${{ secrets.GITHUB_TOKEN }}