Skip to content

Commit 1c66641

Browse files
committed
debug 06
1 parent 49db40d commit 1c66641

File tree

2 files changed

+116
-114
lines changed

2 files changed

+116
-114
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
with:
8181
dockerfile: ./ci/linux-debian-wine.Dockerfile
8282
tag: ci-image
83-
workflow_env_vars: ${{ needs.env_vars.outputs.env_vars }}
83+
workflow_env_vars: ${{ toJSON(env) }}
8484
job_env_vars: 'WRAPPER_CMD=wine WITH_VALGRIND=no ECDH=yes RECOVERY=yes SCHNORRSIG=yes CTIMETESTS=no'
8585
matrix_env_vars: ${{ matrix.configuration.env_vars }}
8686

.github/workflows/run-in-docker.yml

+115-113
Original file line numberDiff line numberDiff line change
@@ -27,121 +27,123 @@ jobs:
2727
internal_job:
2828
runs-on: ubuntu-latest
2929
steps:
30-
- name: Checkout
31-
uses: actions/checkout@v3
30+
- run: echo ${{ inputs.workflow_env_vars }}
31+
32+
# - name: Checkout
33+
# uses: actions/checkout@v3
3234

33-
- name: Set environment variables
34-
run: |
35-
IFS=' ' read -r -a vars <<< "${{ inputs.workflow_env_vars }} ${{ inputs.job_env_vars }} ${{ inputs.matrix_env_vars }}"
36-
for var in "${vars[@]}"; do
37-
echo "$var" >> "$GITHUB_ENV"
38-
done
39-
echo "MAKEFLAGS=-j$(($(nproc) + 1))" >> "$GITHUB_ENV"
40-
echo ==============================================
41-
cat "$GITHUB_ENV"
42-
echo ==============================================
35+
# - name: Set environment variables
36+
# run: |
37+
# IFS=' ' read -r -a vars <<< "${{ inputs.workflow_env_vars }} ${{ inputs.job_env_vars }} ${{ inputs.matrix_env_vars }}"
38+
# for var in "${vars[@]}"; do
39+
# echo "$var" >> "$GITHUB_ENV"
40+
# done
41+
# echo "MAKEFLAGS=-j$(($(nproc) + 1))" >> "$GITHUB_ENV"
42+
# echo ==============================================
43+
# cat "$GITHUB_ENV"
44+
# echo ==============================================
4345

44-
- name: Set up Docker Buildx
45-
uses: docker/setup-buildx-action@v2
46+
# - name: Set up Docker Buildx
47+
# uses: docker/setup-buildx-action@v2
4648

47-
- name: Build container
48-
uses: docker/build-push-action@v4
49-
with:
50-
context: .
51-
file: ${{ inputs.dockerfile }}
52-
tags: ${{ inputs.tag }}
53-
push: false
54-
load: true
55-
cache-from: type=gha
49+
# - name: Build container
50+
# uses: docker/build-push-action@v4
51+
# with:
52+
# context: .
53+
# file: ${{ inputs.dockerfile }}
54+
# tags: ${{ inputs.tag }}
55+
# push: false
56+
# load: true
57+
# cache-from: type=gha
5658

57-
- name: CI script
58-
run: >
59-
docker run \
60-
$(echo '${{ toJSON(env) }}' | jq -r 'keys[] | "-e \(.)"' | paste -sd " ") \
61-
--volume ${{ github.workspace }}:${{ github.workspace }} \
62-
--workdir ${{ github.workspace }} \
63-
${{ inputs.tag }} bash -c " \
64-
git config --global --add safe.directory ${{ github.workspace }} && \
65-
./ci/cirrus.sh \
66-
"
59+
# - name: CI script
60+
# run: >
61+
# docker run \
62+
# $(echo '${{ toJSON(env) }}' | jq -r 'keys[] | "-e \(.)"' | paste -sd " ") \
63+
# --volume ${{ github.workspace }}:${{ github.workspace }} \
64+
# --workdir ${{ github.workspace }} \
65+
# ${{ inputs.tag }} bash -c " \
66+
# git config --global --add safe.directory ${{ github.workspace }} && \
67+
# ./ci/cirrus.sh \
68+
# "
6769

68-
- name: tests.log
69-
run: >
70-
docker run \
71-
$(echo '${{ toJSON(env) }}' | jq -r 'keys[] | "-e \(.)"' | paste -sd " ") \
72-
--volume ${{ github.workspace }}:${{ github.workspace }} \
73-
--workdir ${{ github.workspace }} \
74-
${{ inputs.tag }} bash -c " \
75-
cat tests.log || true \
76-
"
77-
if: ${{ always() }}
78-
- name: noverify_tests.log
79-
run: >
80-
docker run \
81-
$(echo '${{ toJSON(env) }}' | jq -r 'keys[] | "-e \(.)"' | paste -sd " ") \
82-
--volume ${{ github.workspace }}:${{ github.workspace }} \
83-
--workdir ${{ github.workspace }} \
84-
${{ inputs.tag }} bash -c " \
85-
cat noverify_tests.log || true \
86-
"
87-
if: ${{ always() }}
88-
- name: exhaustive_tests.log
89-
run: >
90-
docker run \
91-
$(echo '${{ toJSON(env) }}' | jq -r 'keys[] | "-e \(.)"' | paste -sd " ") \
92-
--volume ${{ github.workspace }}:${{ github.workspace }} \
93-
--workdir ${{ github.workspace }} \
94-
${{ inputs.tag }} bash -c " \
95-
cat exhaustive_tests.log || true \
96-
"
97-
if: ${{ always() }}
98-
- name: ctime_tests.log
99-
run: >
100-
docker run \
101-
$(echo '${{ toJSON(env) }}' | jq -r 'keys[] | "-e \(.)"' | paste -sd " ") \
102-
--volume ${{ github.workspace }}:${{ github.workspace }} \
103-
--workdir ${{ github.workspace }} \
104-
${{ inputs.tag }} bash -c " \
105-
cat ctime_tests.log || true \
106-
"
107-
if: ${{ always() }}
108-
- name: bench.log
109-
run: >
110-
docker run \
111-
$(echo '${{ toJSON(env) }}' | jq -r 'keys[] | "-e \(.)"' | paste -sd " ") \
112-
--volume ${{ github.workspace }}:${{ github.workspace }} \
113-
--workdir ${{ github.workspace }} \
114-
${{ inputs.tag }} bash -c " \
115-
cat bench.log || true \
116-
"
117-
if: ${{ always() }}
118-
- name: config.log
119-
run: >
120-
docker run \
121-
$(echo '${{ toJSON(env) }}' | jq -r 'keys[] | "-e \(.)"' | paste -sd " ") \
122-
--volume ${{ github.workspace }}:${{ github.workspace }} \
123-
--workdir ${{ github.workspace }} \
124-
${{ inputs.tag }} bash -c " \
125-
cat config.log || true \
126-
"
127-
if: ${{ always() }}
128-
- name: test_env.log
129-
run: >
130-
docker run \
131-
$(echo '${{ toJSON(env) }}' | jq -r 'keys[] | "-e \(.)"' | paste -sd " ") \
132-
--volume ${{ github.workspace }}:${{ github.workspace }} \
133-
--workdir ${{ github.workspace }} \
134-
${{ inputs.tag }} bash -c " \
135-
cat test_env.log || true \
136-
"
137-
if: ${{ always() }}
138-
- name: env
139-
run: >
140-
docker run \
141-
$(echo '${{ toJSON(env) }}' | jq -r 'keys[] | "-e \(.)"' | paste -sd " ") \
142-
--volume ${{ github.workspace }}:${{ github.workspace }} \
143-
--workdir ${{ github.workspace }} \
144-
${{ inputs.tag }} bash -c " \
145-
env \
146-
"
147-
if: ${{ always() }}
70+
# - name: tests.log
71+
# run: >
72+
# docker run \
73+
# $(echo '${{ toJSON(env) }}' | jq -r 'keys[] | "-e \(.)"' | paste -sd " ") \
74+
# --volume ${{ github.workspace }}:${{ github.workspace }} \
75+
# --workdir ${{ github.workspace }} \
76+
# ${{ inputs.tag }} bash -c " \
77+
# cat tests.log || true \
78+
# "
79+
# if: ${{ always() }}
80+
# - name: noverify_tests.log
81+
# run: >
82+
# docker run \
83+
# $(echo '${{ toJSON(env) }}' | jq -r 'keys[] | "-e \(.)"' | paste -sd " ") \
84+
# --volume ${{ github.workspace }}:${{ github.workspace }} \
85+
# --workdir ${{ github.workspace }} \
86+
# ${{ inputs.tag }} bash -c " \
87+
# cat noverify_tests.log || true \
88+
# "
89+
# if: ${{ always() }}
90+
# - name: exhaustive_tests.log
91+
# run: >
92+
# docker run \
93+
# $(echo '${{ toJSON(env) }}' | jq -r 'keys[] | "-e \(.)"' | paste -sd " ") \
94+
# --volume ${{ github.workspace }}:${{ github.workspace }} \
95+
# --workdir ${{ github.workspace }} \
96+
# ${{ inputs.tag }} bash -c " \
97+
# cat exhaustive_tests.log || true \
98+
# "
99+
# if: ${{ always() }}
100+
# - name: ctime_tests.log
101+
# run: >
102+
# docker run \
103+
# $(echo '${{ toJSON(env) }}' | jq -r 'keys[] | "-e \(.)"' | paste -sd " ") \
104+
# --volume ${{ github.workspace }}:${{ github.workspace }} \
105+
# --workdir ${{ github.workspace }} \
106+
# ${{ inputs.tag }} bash -c " \
107+
# cat ctime_tests.log || true \
108+
# "
109+
# if: ${{ always() }}
110+
# - name: bench.log
111+
# run: >
112+
# docker run \
113+
# $(echo '${{ toJSON(env) }}' | jq -r 'keys[] | "-e \(.)"' | paste -sd " ") \
114+
# --volume ${{ github.workspace }}:${{ github.workspace }} \
115+
# --workdir ${{ github.workspace }} \
116+
# ${{ inputs.tag }} bash -c " \
117+
# cat bench.log || true \
118+
# "
119+
# if: ${{ always() }}
120+
# - name: config.log
121+
# run: >
122+
# docker run \
123+
# $(echo '${{ toJSON(env) }}' | jq -r 'keys[] | "-e \(.)"' | paste -sd " ") \
124+
# --volume ${{ github.workspace }}:${{ github.workspace }} \
125+
# --workdir ${{ github.workspace }} \
126+
# ${{ inputs.tag }} bash -c " \
127+
# cat config.log || true \
128+
# "
129+
# if: ${{ always() }}
130+
# - name: test_env.log
131+
# run: >
132+
# docker run \
133+
# $(echo '${{ toJSON(env) }}' | jq -r 'keys[] | "-e \(.)"' | paste -sd " ") \
134+
# --volume ${{ github.workspace }}:${{ github.workspace }} \
135+
# --workdir ${{ github.workspace }} \
136+
# ${{ inputs.tag }} bash -c " \
137+
# cat test_env.log || true \
138+
# "
139+
# if: ${{ always() }}
140+
# - name: env
141+
# run: >
142+
# docker run \
143+
# $(echo '${{ toJSON(env) }}' | jq -r 'keys[] | "-e \(.)"' | paste -sd " ") \
144+
# --volume ${{ github.workspace }}:${{ github.workspace }} \
145+
# --workdir ${{ github.workspace }} \
146+
# ${{ inputs.tag }} bash -c " \
147+
# env \
148+
# "
149+
# if: ${{ always() }}

0 commit comments

Comments
 (0)