Skip to content

Commit 0655e23

Browse files
committed
Workaround missing GitVersion native dependency
GitLab shared runner uses Debian 10.
1 parent 313f337 commit 0655e23

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ Linux:
3737
script:
3838
- curl -fsSL https://dot.net/v1/dotnet-install.sh | bash -s -- --version 3.1.401
3939
- export DOTNET_ROOT=$HOME/.dotnet && export PATH=$DOTNET_ROOT:$PATH
40+
# Workaround missing GitVersion native dependency
41+
- dotnet tool install GitVersion.Tool --tool-path tools --version 5.3.7
42+
- export LD_LIBRARY_PATH=$(pwd)/tools/.store/gitversion.tool/5.3.7/gitversion.tool/5.3.7/tools/netcoreapp3.1/any/runtimes/debian.9-x64/native/
4043
- dotnet tool restore && dotnet cake --bootstrap --verbosity=verbose && dotnet cake --verbosity=verbose --target=build
4144

4245
# Mac:

0 commit comments

Comments
 (0)