Skip to content

Commit

Permalink
CI: Update GitLab example.
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Josefsson <[email protected]>
  • Loading branch information
jas4711 authored and Biswa96 committed Nov 20, 2024
1 parent 12275bc commit 429a974
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions web/docs/ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ see https://github.com/marketplace/actions/setup-msys2
## GitLab
GitLab offers [shared Windows runners](https://docs.gitlab.com/ee/ci/runners/saas/windows_saas_runner.html)
GitLab offers [shared Windows runners](https://docs.gitlab.com/ee/ci/runners/hosted_runners/windows.html)
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)
and you can build a project using the following `.gitlab-ci.yml`
snippet, which illustrates how to build a regular autotools-based
Expand All @@ -52,7 +52,7 @@ for general reference on CI/CD in GitLab.
```yaml
Windows-MSYS2-UCRT64:
# https://docs.gitlab.com/ee/ci/runners/saas/windows_saas_runner.html
tags: [ shared-windows, windows-1809 ]
tags: [ saas-windows-medium-amd64 ]
script: # https://www.msys2.org/docs/ci/#gitlab
- wget.exe -nv -O msys2.exe https://github.com/msys2/msys2-installer/releases/download/nightly-x86_64/msys2-base-x86_64-latest.sfx.exe
- ./msys2.exe -y -oC:\
Expand All @@ -63,7 +63,7 @@ Windows-MSYS2-UCRT64:
- C:\msys64\usr\bin\bash -lc 'pacman --noconfirm -Syuu'
- C:\msys64\usr\bin\bash -lc 'pacman --noconfirm -Syuu'
- |
C:\msys64\usr\bin\bash -lc '
C:\msys64\usr\bin\bash -lcx '
pacman --noconfirm -Syu git mingw-w64-ucrt-x86_64-autotools mingw-w64-ucrt-x86_64-gcc
./bootstrap
./configure
Expand Down

0 comments on commit 429a974

Please sign in to comment.