mirror of
https://gitgud.io/amevarashi/rjw-sexperience-ideology.git
synced 2024-08-15 00:43:19 +00:00
Compare commits
No commits in common. "c748aa266ac15dd6e32bcc6fc93238b30a56eec3" and "57f3feae8bab0fba20769858368f9ab9583b62aa" have entirely different histories.
c748aa266a
...
57f3feae8b
1 changed files with 12 additions and 3 deletions
|
@ -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: 'IdeologyAddon/obj'
|
||||
OBJECTS_DIRECTORY: '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,13 +85,22 @@ 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:
|
||||
- 'curl -s --create-dirs "$RJW_DLL_URL" -o ../../rjw/$RIMWORLD_VERSION/Assemblies/RJW.dll'
|
||||
- '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'
|
||||
- 'dotnet build --no-restore'
|
||||
|
||||
#tests:
|
||||
|
|
Loading…
Reference in a new issue