Browse Source

ci: Use a previous commit of rust-nightly for building docs

There is a regression in the latest commit that prevents the
dependencies from building.
pipelines/816197
Kévin Commaille 1 year ago
parent
commit
8cc9b6c705
No known key found for this signature in database
GPG Key ID: C971D9DBC9D678D
  1. 2
      .gitlab-ci/test.yml

2
.gitlab-ci/test.yml

@ -41,6 +41,8 @@ build-docs:
- flatpak
script:
- flatpak install --user --noninteractive org.freedesktop.Sdk.Extension.rust-nightly//24.08
# Latest nightly has a regression, use the previous commit.
- flatpak update --user --noninteractive --commit=aa00da8e848af18f397f0df9f21c4ede196cd21c761a2d8a656b1a3044e6a696 org.freedesktop.Sdk.Extension.rust-nightly//24.08
# We want to use the nightly toolchain inside the build terminal.
- sed -i 's|"org.freedesktop.Sdk.Extension.rust-stable"|"org.freedesktop.Sdk.Extension.rust-nightly"|g' ${MANIFEST_PATH}
- sed -i 's|/rust-stable/bin|/rust-nightly/extra/sdk/rust-nightly/bin|g' ${MANIFEST_PATH}

Loading…
Cancel
Save