-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
542732f
commit de044e4
Showing
6 changed files
with
58 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/bin/sh | ||
|
||
group uname -a | ||
group ulimit -aH | ||
group ulimit -aS | ||
group ghc --version | ||
group ghc -v | ||
group gcc --version | ||
group gcc -v | ||
group opam switch | ||
group opam list | ||
group ocamlc -config | ||
group ocamlc -where | ||
group ocamlfind printconf destdir | ||
group ocamlfind list | ||
group ocamlfind query findlib | ||
group ocamlfind query zarith | ||
group ocamlfind query coq | ||
group ocamlfind query coq-core | ||
group ocamlfind query coq-core.plugins | ||
group ocamlfind query coq-core.plugins.ltac | ||
group "ocamlfind query coq | xargs find" | ||
group js_of_ocaml --version | ||
group wasm_of_ocaml --version | ||
group coqc --config | ||
group coqc --version | ||
group coqtop </dev/null | ||
group etc/machine.sh | ||
group "echo PATH=$PATH" | ||
group "echo SHELL=$SHELL" | ||
group etc/ci/github-actions-record-coq-info.sh "$GITHUB_STEP_SUMMARY" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,21 @@ | ||
#!/bin/sh | ||
|
||
outfile="${1:-$GITHUB_STEP_SUMMARY}" | ||
|
||
# summarize coqc version to make it easier to read | ||
COQC_VERSION_SHORT="$(coqc --print-version 2>/dev/null | cut -d " " -f 1)" | ||
COQC_VERSION="$(coqc --version 2>/dev/null | tr '\n' ',' | sed 's/,$//g')" | ||
COQTOP_VERSION="$(true | coqtop 2>&1)" | ||
if [ ! -z "$GITHUB_STEP_SUMMARY" ] && [ ! -z "$COQC_VERSION" ]; then | ||
printf '%s\n\n' "<details><summary>${COQC_VERSION}</summary>" >> "$GITHUB_STEP_SUMMARY" | ||
printf '%s\n' '```' >> "$GITHUB_STEP_SUMMARY" | ||
printf '%s\n' "${COQTOP_VERSION}" >> "$GITHUB_STEP_SUMMARY" | ||
printf '%s\n%s\n' '```' '</details>' >> "$GITHUB_STEP_SUMMARY" | ||
COQTOP_VERSION="$(coqtop </dev/null 2>&1)" | ||
if [ ! -z "$outfile" ]; then | ||
if [ ! -z "$COQC_VERSION" ]; then | ||
echo "Writing $COQC_VERSION to $outfile..." | ||
printf '%s\n\n' "<details><summary>${COQC_VERSION}</summary>" >> "$outfile" | ||
printf '%s\n' '```' >> "$outfile" | ||
printf '%s\n' "${COQTOP_VERSION}" >> "$outfile" | ||
printf '%s\n%s\n' '```' '</details>' >> "$outfile" | ||
else | ||
echo "Not writing missing coqc version to $outfile" | ||
fi | ||
else | ||
echo "GITHUB_STEP_SUMMARY is unset" | ||
fi |