Skip to content

Commit ad73008

Browse files
jas4711Biswa96
authored andcommitted
ci: Update GitLab URLs and improve example.
Signed-off-by: Simon Josefsson <simon@josefsson.org>
1 parent 9eaeed6 commit ad73008

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

web/docs/ci.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,20 @@ see https://github.com/marketplace/actions/setup-msys2
4242
4343
## GitLab
4444
45-
GitLab offers [shared Windows runners](https://docs.gitlab.com/ee/ci/runners/hosted_runners/windows.html)
46-
with some [pre-installed software](https://gitlab.com/gitlab-org/ci-cd/shared-runners/images/gcp/windows-containers/blob/main/cookbooks/preinstalled-software/README.md)
45+
GitLab offers [shared Windows runners](https://docs.gitlab.com/ci/runners/hosted_runners/windows/)
46+
with some [pre-installed software](https://gitlab.com/gitlab-org/ci-cd/shared-runners/images/gcp/windows-containers/-/blob/main/cookbooks/preinstalled-software/attributes/default.rb)
4747
and you can build a project using the following `.gitlab-ci.yml`
4848
snippet, which illustrates how to build a regular autotools-based
49-
project. See [GitLab's CI/CD documentation](https://docs.gitlab.com/ee/topics/build_your_application.html)
49+
project. See [GitLab's CI/CD documentation](https://docs.gitlab.com/topics/build_your_application/)
5050
for general reference on CI/CD in GitLab.
5151

5252
```yaml
5353
Windows-MSYS2-UCRT64:
54-
# https://docs.gitlab.com/ee/ci/runners/saas/windows_saas_runner.html
54+
# https://docs.gitlab.com/ci/runners/hosted_runners/windows/
5555
tags: [ saas-windows-medium-amd64 ]
5656
script: # https://www.msys2.org/docs/ci/#gitlab
57-
- wget.exe -nv -O msys2.exe https://github.com/msys2/msys2-installer/releases/download/nightly-x86_64/msys2-base-x86_64-latest.sfx.exe
57+
- wget.exe -nv -O msys2.exe https://github.com/msys2/msys2-installer/releases/download/2025-02-21/msys2-base-x86_64-20250221.sfx.exe # https://github.com/msys2/msys2-installer/releases/download/nightly-x86_64/msys2-base-x86_64-latest.sfx.exe
58+
- Get-FileHash ./msys2.exe -Algorithm SHA256 | Format-List
5859
- ./msys2.exe -y -oC:\
5960
- Remove-Item msys2.exe
6061
- $env:CHERE_INVOKING = 'yes'
@@ -68,6 +69,7 @@ Windows-MSYS2-UCRT64:
6869
./bootstrap
6970
./configure
7071
make V=1 check VERBOSE=t'
72+
- C:\msys64\usr\bin\bash -lc 'grep ^PASS tests/basic.log'
7173
```
7274

7375
## Appveyor

0 commit comments

Comments
 (0)