File tree 2 files changed +20
-10
lines changed
2 files changed +20
-10
lines changed Original file line number Diff line number Diff line change @@ -57,11 +57,21 @@ jobs:
57
57
58
58
mingw_debian :
59
59
name : ${{ matrix.configuration.job_name }}
60
+ needs : docker_wine_cache
61
+ strategy :
62
+ fail-fast : false
63
+ matrix :
64
+ configuration :
65
+ - job_name : ' x86_64 (mingw32-w64): Windows (Debian stable, Wine)'
66
+ env_vars : ' HOST=x86_64-w64-mingw32'
67
+ - job_name : ' i686 (mingw32-w64): Windows (Debian stable, Wine)'
68
+ env_vars : ' HOST=i686-w64-mingw32'
60
69
uses : ./.github/workflows/run-in-docker.yml
61
70
with :
62
71
dockerfile : ./ci/linux-debian-wine.Dockerfile
63
72
tag : ci-image
64
- needs : docker_wine_cache
73
+ job_env_vars : ' WRAPPER_CMD=wine WITH_VALGRIND=no ECDH=yes RECOVERY=yes SCHNORRSIG=yes CTIMETESTS=no'
74
+ matrix_env_vars : ${{ matrix.configuration.env_vars }}
65
75
66
76
# env:
67
77
# WRAPPER_CMD: 'wine'
71
81
# SCHNORRSIG: 'yes'
72
82
# CTIMETESTS: 'no'
73
83
74
- strategy :
75
- fail-fast : false
76
- matrix :
77
- configuration :
78
- - job_name : ' x86_64 (mingw32-w64): Windows (Debian stable, Wine)'
79
- env_vars : ' HOST=x86_64-w64-mingw32'
80
- - job_name : ' i686 (mingw32-w64): Windows (Debian stable, Wine)'
81
- env_vars : ' HOST=i686-w64-mingw32'
82
84
83
85
# steps:
84
86
# - name: Checkout
Original file line number Diff line number Diff line change 10
10
default : ' ci-image'
11
11
required : false
12
12
type : string
13
+ job_env_vars :
14
+ description : ' Environment variables provided by a job'
15
+ required : false
16
+ type : string
17
+ matrix_env_vars :
18
+ description : ' Environment variables provided by a matrix'
19
+ required : false
20
+ type : string
13
21
14
22
jobs :
15
23
reusable_workflow_job :
20
28
21
29
- name : Set environment variables
22
30
run : |
23
- read -r -a vars <<< "${{ matrix.configuration.env_vars }}"
31
+ read -r -a vars <<< "${{ inputs.job_env_vars }} ${{ inputs.matrix_env_vars }}"
24
32
for var in "${vars[@]}"; do
25
33
echo "$var" >> "$GITHUB_ENV"
26
34
done
You can’t perform that action at this time.
0 commit comments