File tree 1 file changed +12
-1
lines changed
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 30
30
ARTIFACT_URL : https://api.github.com/repos/d-e-s-o/blazesym/actions/artifacts/${{ needs.build-linux-kernel.outputs.kernel-artifact-id }}/zip
31
31
PYTHON : ${{ steps.py312.outputs.python-path }}
32
32
run : |
33
+ tests=$(cargo build -Z unstable-options --tests --build-plan | \
34
+ jq -r '
35
+ .invocations[] |
36
+ select(
37
+ .package_name == "blazesym" and
38
+ .outputs[0] != null and
39
+ (.outputs[0] | endswith(".rlib") | not) and
40
+ (.outputs[0] | contains("/build/") | not)
41
+ ) |
42
+ .outputs[0]
43
+ ')
33
44
# Yes, there appears to be no way to just retrieve the
34
45
# uploaded artifact. One can't use actions/download-artifact
35
46
# and provide any of the outputs of actions/upload-artifact.
45
56
unzip artifact.zip
46
57
cat <<EOF > main.sh
47
58
export PYTHON=${PYTHON}
48
- exec cargo test --workspace --all-targets --features=nightly,generate-large-test-files -- --include-ignored
59
+ exec ${tests}
49
60
EOF
50
61
chmod a+x main.sh
51
62
- name : Test
You can’t perform that action at this time.
0 commit comments