# These images don't have Make, so commands are executed directly stages: # - validate - build # validate: # stage: validate # script: # - dotnet tool install -g dotnet-script # - dotnet tool run dotnet-script scripts/LoadYaml.csx # - dotnet tool run dotnet-script scripts/LoadInk.csx # image: mcr.microsoft.com/dotnet/sdk:3.1 build-debug: stage: build script: - dotnet restore isometric-park-fna-core.sln - dotnet build isometric-park-fna-core.sln -f netcoreapp3.1 image: mcr.microsoft.com/dotnet/sdk:3.1.415-focal build-release-windows: stage: build script: - dotnet restore isometric-park-fna-core.sln - dotnet build isometric-park-fna-core.sln -f netcoreapp3.1 -c Release --runtime win-x64 image: mcr.microsoft.com/dotnet/sdk:3.1.415 artifacts: paths: - isometric-park-fna/bin/Release expire_in: 1 week build-release: stage: build script: - dotnet restore isometric-park-fna-core.sln - dotnet build isometric-park-fna-core.sln -f netcoreapp3.1 -c Release artifacts: paths: - isometric-park-fna/bin/Release expire_in: 1 week image: mcr.microsoft.com/dotnet/sdk:3.1.415-focal