Compare commits

...

9 commits

Author SHA1 Message Date
amevarashi
c748aa266a Update .gitlab-ci.yml file 2024-04-27 18:34:50 +00:00
amevarashi
8315e2b8be Update .gitlab-ci.yml file 2024-04-27 18:29:44 +00:00
amevarashi
8bd4d5cd14 Update .gitlab-ci.yml file 2024-04-27 18:24:24 +00:00
amevarashi
d39a01a962 Update .gitlab-ci.yml file 2024-04-27 18:10:59 +00:00
amevarashi
332a65eb7d Update .gitlab-ci.yml file 2024-04-27 18:06:38 +00:00
amevarashi
b2fae1c39c Update .gitlab-ci.yml file 2024-04-27 18:05:08 +00:00
amevarashi
79a3dc684b Update .gitlab-ci.yml file 2024-04-27 18:01:08 +00:00
amevarashi
45e84a83fc Update .gitlab-ci.yml file 2024-04-27 17:43:57 +00:00
amevarashi
d598f33e74 Update .gitlab-ci.yml file 2024-04-27 17:13:13 +00:00

View file

@ -23,7 +23,7 @@ image: mcr.microsoft.com/dotnet/sdk:latest
#
variables:
# 1) Name of directory where restore and build objects are stored.
OBJECTS_DIRECTORY: 'obj'
OBJECTS_DIRECTORY: 'IdeologyAddon/obj'
# 2) Name of directory used for keeping restored dependencies.
NUGET_PACKAGES_DIRECTORY: '.nuget'
# 3) A relative path to the source code from project repository root.
@ -85,22 +85,13 @@ cache:
# Learn more about GitLab cache: https://docs.gitlab.com/ee/ci/caching/index.html
before_script:
- 'cd $SOURCE_CODE_PATH'
- 'dotnet restore --packages $NUGET_PACKAGES_DIRECTORY'
- 'dotnet restore --packages ../$NUGET_PACKAGES_DIRECTORY'
build:
stage: build
# ### Build all projects discovered from solution file.
#
# Note: this will fail if you have any projects in your solution that are not
# .NET Core-based projects (e.g. WCF service), which is based on .NET Framework,
# not .NET Core. In this scenario, you will need to build every .NET Core-based
# project by explicitly specifying a relative path to the directory
# where it is located (e.g. 'dotnet build ./src/ConsoleApp').
# Only one project path can be passed as a parameter to 'dotnet build' command.
script:
- 'ls -l ../../../rjw/1.5/Assemblies/RJW.dll'
- 'curl --create-dirs "https://gitgud.io/jikulopo/rjw/-/raw/1.5-test/1.5/Assemblies/RJW.dll" -o ../../../rjw/1.5/Assemblies/RJW.dll'
- 'ls -l ../../../rjw/1.5/Assemblies/RJW.dll'
- 'curl -s --create-dirs "$RJW_DLL_URL" -o ../../rjw/$RIMWORLD_VERSION/Assemblies/RJW.dll'
- 'dotnet build --no-restore'
#tests: