Adding debug

pull/1416/head
Quentin VIGNAUD 2 weeks ago
parent cf12438571
commit a22f309c3c

@ -39,7 +39,7 @@ jobs:
command: | command: |
run .melodium-ci/Compo.toml buildTestAya --targets='[${{ toJSON( matrix.arch ) }}]' --repository_clone_url='"${{ github.repositoryUrl }}"' --repository_clone_ref='"${{ github.ref_name }}"' --github_contexts='$''{{{{ { "github": { "api_url": ${{ toJSON(github.api_url) }}, "repository": ${{ toJSON(github.repository) }}, "sha": ${{ toJSON(github.sha) }} }, "secrets": { "GITHUB_TOKEN": "'"$GITHUB_TOKEN"'" } } }}}}' run .melodium-ci/Compo.toml buildTestAya --targets='[${{ toJSON( matrix.arch ) }}]' --repository_clone_url='"${{ github.repositoryUrl }}"' --repository_clone_ref='"${{ github.ref_name }}"' --github_contexts='$''{{{{ { "github": { "api_url": ${{ toJSON(github.api_url) }}, "repository": ${{ toJSON(github.repository) }}, "sha": ${{ toJSON(github.sha) }} }, "secrets": { "GITHUB_TOKEN": "'"$GITHUB_TOKEN"'" } } }}}}'
artifact-path: 'logs/' artifact-path: 'logs/'
artifact-name: 'mel_buildTestAya' artifact-name: 'mel_buildTestAya_${{ toJSON( matrix.arch ) }}'
secrets: secrets:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
permissions: permissions:

@ -41,8 +41,9 @@ treatment setupToolchain[logger: Logger](rust_target: string)
name = |format("setupToolchain ({rust_target})", |entry("rust_target", rust_target)), name = |format("setupToolchain ({rust_target})", |entry("rust_target", rust_target)),
commands = |raw_commands([ commands = |raw_commands([
|format("echo GithubEnv /tmp/{rust_target}/github.env", |entry("rust_target", rust_target)), |format("echo GithubEnv /tmp/{rust_target}/github.env", |entry("rust_target", rust_target)),
|format("mkdir /tmp/{rust_target}", |entry("rust_target", rust_target)), |format("mkdir -p /tmp/{rust_target}", |entry("rust_target", rust_target)),
|format("touch /tmp/{rust_target}/github.env", |entry("rust_target", rust_target)), |format("touch /tmp/{rust_target}/github.env", |entry("rust_target", rust_target)),
|format("ls /tmp/{rust_target}", |entry("rust_target", rust_target)),
${bash -c "curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/taiki-e/setup-cross-toolchain-action/refs/tags/v1/main.sh | bash -"}, ${bash -c "curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/taiki-e/setup-cross-toolchain-action/refs/tags/v1/main.sh | bash -"},
|format("cat /tmp/{rust_target}/github.env", |entry("rust_target", rust_target)) |format("cat /tmp/{rust_target}/github.env", |entry("rust_target", rust_target))
]), ]),

Loading…
Cancel
Save