|
38 | 38 | EXAMPLES: 'yes'
|
39 | 39 |
|
40 | 40 | jobs:
|
41 |
| - docker_wine_cache: |
42 |
| - name: 'Build MinGW/MSVC Debian image' |
| 41 | + env_vars: |
| 42 | + name: 'Put environment variables into a standard job output' |
43 | 43 | runs-on: ubuntu-latest
|
| 44 | + outputs: |
| 45 | + env_vars: ${{ steps.result.outputs.env_vars }} |
44 | 46 | steps:
|
45 |
| - - name: Set up Docker Buildx |
46 |
| - uses: docker/setup-buildx-action@v2 |
47 |
| - |
48 |
| - - name: Build container |
49 |
| - uses: docker/build-push-action@v4 |
50 |
| - with: |
51 |
| - file: ./ci/linux-debian-wine.Dockerfile |
52 |
| - tags: ci-image |
53 |
| - push: false |
54 |
| - load: false |
55 |
| - cache-from: type=gha |
56 |
| - cache-to: type=gha,mode=min |
57 |
| - |
58 |
| - mingw_debian: |
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' |
69 |
| - uses: ./.github/workflows/run-in-docker.yml |
70 |
| - with: |
71 |
| - dockerfile: ./ci/linux-debian-wine.Dockerfile |
72 |
| - tag: ci-image |
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 }} |
| 47 | + - id: result |
| 48 | + run: | |
| 49 | + echo $(echo '${{ toJSON(env) }}' | jq -r 'to_entries | .[] | "\(.key)=\"\(.value)\""' | paste -sd " ") >> $GITHUB_OUTPUT |
| 50 | + echo $(echo '${{ toJSON(env) }}' | jq -r 'to_entries | .[] | "\(.key)=\"\(.value)\""' | paste -sd " ") |
| 51 | +
|
| 52 | + # docker_wine_cache: |
| 53 | + # name: 'Build MinGW/MSVC Debian image' |
| 54 | + # runs-on: ubuntu-latest |
| 55 | + # steps: |
| 56 | + # - name: Set up Docker Buildx |
| 57 | + # uses: docker/setup-buildx-action@v2 |
| 58 | + |
| 59 | + # - name: Build container |
| 60 | + # uses: docker/build-push-action@v4 |
| 61 | + # with: |
| 62 | + # file: ./ci/linux-debian-wine.Dockerfile |
| 63 | + # tags: ci-image |
| 64 | + # push: false |
| 65 | + # load: false |
| 66 | + # cache-from: type=gha |
| 67 | + # cache-to: type=gha,mode=min |
| 68 | + |
| 69 | + # mingw_debian: |
| 70 | + # name: ${{ matrix.configuration.job_name }} |
| 71 | + # needs: docker_wine_cache |
| 72 | + # strategy: |
| 73 | + # fail-fast: false |
| 74 | + # matrix: |
| 75 | + # configuration: |
| 76 | + # - job_name: 'x86_64 (mingw32-w64): Windows (Debian stable, Wine)' |
| 77 | + # env_vars: 'HOST=x86_64-w64-mingw32' |
| 78 | + # - job_name: 'i686 (mingw32-w64): Windows (Debian stable, Wine)' |
| 79 | + # env_vars: 'HOST=i686-w64-mingw32' |
| 80 | + # uses: ./.github/workflows/run-in-docker.yml |
| 81 | + # with: |
| 82 | + # dockerfile: ./ci/linux-debian-wine.Dockerfile |
| 83 | + # tag: ci-image |
| 84 | + # job_env_vars: 'WRAPPER_CMD=wine WITH_VALGRIND=no ECDH=yes RECOVERY=yes SCHNORRSIG=yes CTIMETESTS=no' |
| 85 | + # matrix_env_vars: ${{ matrix.configuration.env_vars }} |
75 | 86 |
|
76 | 87 | # msvc_debian:
|
77 | 88 | # name: ${{ matrix.configuration.job_name }}
|
|
0 commit comments