mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
committed by
GitHub
parent
fcf619340f
commit
44e062bce0
@@ -7,7 +7,7 @@ git:
|
|||||||
depth: 10
|
depth: 10
|
||||||
|
|
||||||
# ASF is based on .NET Core platform, we're not building with Mono
|
# ASF is based on .NET Core platform, we're not building with Mono
|
||||||
dotnet: 3.0
|
dotnet: 3.1
|
||||||
mono: none
|
mono: none
|
||||||
|
|
||||||
env:
|
env:
|
||||||
@@ -15,7 +15,7 @@ env:
|
|||||||
- CONFIGURATION: Release
|
- CONFIGURATION: Release
|
||||||
- DOTNET_CLI_TELEMETRY_OPTOUT: 1
|
- DOTNET_CLI_TELEMETRY_OPTOUT: 1
|
||||||
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
|
- DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
|
||||||
- NET_CORE_VERSION: netcoreapp3.0
|
- NET_CORE_VERSION: netcoreapp3.1
|
||||||
- VARIANTS="generic linux-arm linux-x64 osx-x64 win-x64" # NOTE: When modifying variants, don't forget to update ASF_VARIANT definitions in SharedInfo.cs!
|
- VARIANTS="generic linux-arm linux-x64 osx-x64 win-x64" # NOTE: When modifying variants, don't forget to update ASF_VARIANT definitions in SharedInfo.cs!
|
||||||
before_script:
|
before_script:
|
||||||
- |
|
- |
|
||||||
@@ -81,5 +81,5 @@ matrix:
|
|||||||
dist: bionic
|
dist: bionic
|
||||||
- os: osx
|
- os: osx
|
||||||
# Ref: https://docs.travis-ci.com/user/reference/osx
|
# Ref: https://docs.travis-ci.com/user/reference/osx
|
||||||
dotnet: 3.0.100 # For OSX, we need absolute dotnet version until https://github.com/dotnet/core-setup/issues/4187 is resolved
|
dotnet: 3.1.100 # For OSX, we need absolute dotnet version until https://github.com/dotnet/core-setup/issues/4187 is resolved
|
||||||
osx_image: xcode11.2
|
osx_image: xcode11.2
|
||||||
|
|||||||
@@ -18,11 +18,11 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(OS)' == 'Windows_NT' OR '$(ASFNetFramework)' != ''">
|
<PropertyGroup Condition="'$(OS)' == 'Windows_NT' OR '$(ASFNetFramework)' != ''">
|
||||||
<TargetFrameworks>netcoreapp3.0;net48</TargetFrameworks>
|
<TargetFrameworks>netcoreapp3.1;net48</TargetFrameworks>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(OS)' != 'Windows_NT' AND '$(ASFNetFramework)' == ''">
|
<PropertyGroup Condition="'$(OS)' != 'Windows_NT' AND '$(ASFNetFramework)' == ''">
|
||||||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
||||||
|
|||||||
@@ -19,11 +19,11 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(OS)' == 'Windows_NT' OR '$(ASFNetFramework)' != ''">
|
<PropertyGroup Condition="'$(OS)' == 'Windows_NT' OR '$(ASFNetFramework)' != ''">
|
||||||
<TargetFrameworks>netcoreapp3.0;net48</TargetFrameworks>
|
<TargetFrameworks>netcoreapp3.1;net48</TargetFrameworks>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(OS)' != 'Windows_NT' AND '$(ASFNetFramework)' == ''">
|
<PropertyGroup Condition="'$(OS)' != 'Windows_NT' AND '$(ASFNetFramework)' == ''">
|
||||||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
||||||
|
|||||||
@@ -28,11 +28,11 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(OS)' == 'Windows_NT' OR '$(ASFNetFramework)' != ''">
|
<PropertyGroup Condition="'$(OS)' == 'Windows_NT' OR '$(ASFNetFramework)' != ''">
|
||||||
<TargetFrameworks>netcoreapp3.0;net48</TargetFrameworks>
|
<TargetFrameworks>netcoreapp3.1;net48</TargetFrameworks>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(OS)' != 'Windows_NT' AND '$(ASFNetFramework)' == ''">
|
<PropertyGroup Condition="'$(OS)' != 'Windows_NT' AND '$(ASFNetFramework)' == ''">
|
||||||
<TargetFramework>netcoreapp3.0</TargetFramework>
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
||||||
@@ -69,8 +69,8 @@
|
|||||||
</Reference>
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'">
|
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.1'">
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.0.0" />
|
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.0" />
|
||||||
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="4.7.0" />
|
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="4.7.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|||||||
@@ -6,9 +6,9 @@ RUN echo "node: $(node --version)" && \
|
|||||||
npm ci && \
|
npm ci && \
|
||||||
npm run-script deploy
|
npm run-script deploy
|
||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.0 AS build-dotnet
|
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build-dotnet
|
||||||
ENV CONFIGURATION Release
|
ENV CONFIGURATION Release
|
||||||
ENV NET_CORE_VERSION netcoreapp3.0
|
ENV NET_CORE_VERSION netcoreapp3.1
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=build-node /app/dist ASF-ui/dist
|
COPY --from=build-node /app/dist ASF-ui/dist
|
||||||
COPY ArchiSteamFarm ArchiSteamFarm
|
COPY ArchiSteamFarm ArchiSteamFarm
|
||||||
@@ -22,7 +22,7 @@ RUN dotnet --info && \
|
|||||||
dotnet publish ArchiSteamFarm -c "$CONFIGURATION" -f "$NET_CORE_VERSION" -o 'out' /nologo /p:ASFVariant=generic /p:PublishTrimmed=false /p:UseAppHost=false && \
|
dotnet publish ArchiSteamFarm -c "$CONFIGURATION" -f "$NET_CORE_VERSION" -o 'out' /nologo /p:ASFVariant=generic /p:PublishTrimmed=false /p:UseAppHost=false && \
|
||||||
cp "ArchiSteamFarm/overlay/generic/ArchiSteamFarm-Service.sh" "out/ArchiSteamFarm-Service.sh"
|
cp "ArchiSteamFarm/overlay/generic/ArchiSteamFarm-Service.sh" "out/ArchiSteamFarm-Service.sh"
|
||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/core/aspnet:3.0-buster-slim-arm32v7 AS runtime
|
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim-arm32v7 AS runtime
|
||||||
ENV ASPNETCORE_URLS=
|
ENV ASPNETCORE_URLS=
|
||||||
LABEL maintainer="JustArchi <JustArchi@JustArchi.net>"
|
LABEL maintainer="JustArchi <JustArchi@JustArchi.net>"
|
||||||
EXPOSE 1242
|
EXPOSE 1242
|
||||||
|
|||||||
@@ -6,9 +6,9 @@ RUN echo "node: $(node --version)" && \
|
|||||||
npm ci && \
|
npm ci && \
|
||||||
npm run-script deploy
|
npm run-script deploy
|
||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.0 AS build-dotnet
|
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build-dotnet
|
||||||
ENV CONFIGURATION Release
|
ENV CONFIGURATION Release
|
||||||
ENV NET_CORE_VERSION netcoreapp3.0
|
ENV NET_CORE_VERSION netcoreapp3.1
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=build-node /app/dist ASF-ui/dist
|
COPY --from=build-node /app/dist ASF-ui/dist
|
||||||
COPY ArchiSteamFarm ArchiSteamFarm
|
COPY ArchiSteamFarm ArchiSteamFarm
|
||||||
@@ -22,7 +22,7 @@ RUN dotnet --info && \
|
|||||||
dotnet publish ArchiSteamFarm -c "$CONFIGURATION" -f "$NET_CORE_VERSION" -o 'out' /nologo /p:ASFVariant=generic /p:PublishTrimmed=false /p:UseAppHost=false && \
|
dotnet publish ArchiSteamFarm -c "$CONFIGURATION" -f "$NET_CORE_VERSION" -o 'out' /nologo /p:ASFVariant=generic /p:PublishTrimmed=false /p:UseAppHost=false && \
|
||||||
cp "ArchiSteamFarm/overlay/generic/ArchiSteamFarm-Service.sh" "out/ArchiSteamFarm-Service.sh"
|
cp "ArchiSteamFarm/overlay/generic/ArchiSteamFarm-Service.sh" "out/ArchiSteamFarm-Service.sh"
|
||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/core/aspnet:3.0-buster-slim AS runtime
|
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS runtime
|
||||||
ENV ASPNETCORE_URLS=
|
ENV ASPNETCORE_URLS=
|
||||||
LABEL maintainer="JustArchi <JustArchi@JustArchi.net>"
|
LABEL maintainer="JustArchi <JustArchi@JustArchi.net>"
|
||||||
EXPOSE 1242
|
EXPOSE 1242
|
||||||
|
|||||||
@@ -6,9 +6,9 @@ RUN echo "node: $(node --version)" && \
|
|||||||
npm ci && \
|
npm ci && \
|
||||||
npm run-script deploy
|
npm run-script deploy
|
||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.0 AS build-dotnet
|
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build-dotnet
|
||||||
ENV CONFIGURATION Release
|
ENV CONFIGURATION Release
|
||||||
ENV NET_CORE_VERSION netcoreapp3.0
|
ENV NET_CORE_VERSION netcoreapp3.1
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=build-node /app/dist ASF-ui/dist
|
COPY --from=build-node /app/dist ASF-ui/dist
|
||||||
COPY ArchiSteamFarm ArchiSteamFarm
|
COPY ArchiSteamFarm ArchiSteamFarm
|
||||||
@@ -22,7 +22,7 @@ RUN dotnet --info && \
|
|||||||
dotnet publish ArchiSteamFarm -c "$CONFIGURATION" -f "$NET_CORE_VERSION" -o 'out' /nologo /p:ASFVariant=docker /p:PublishTrimmed=false /p:UseAppHost=false && \
|
dotnet publish ArchiSteamFarm -c "$CONFIGURATION" -f "$NET_CORE_VERSION" -o 'out' /nologo /p:ASFVariant=docker /p:PublishTrimmed=false /p:UseAppHost=false && \
|
||||||
cp "ArchiSteamFarm/overlay/generic/ArchiSteamFarm.sh" "out/ArchiSteamFarm.sh"
|
cp "ArchiSteamFarm/overlay/generic/ArchiSteamFarm.sh" "out/ArchiSteamFarm.sh"
|
||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/core/aspnet:3.0-buster-slim-arm32v7 AS runtime
|
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim-arm32v7 AS runtime
|
||||||
ENV ASPNETCORE_URLS=
|
ENV ASPNETCORE_URLS=
|
||||||
LABEL maintainer="JustArchi <JustArchi@JustArchi.net>"
|
LABEL maintainer="JustArchi <JustArchi@JustArchi.net>"
|
||||||
EXPOSE 1242
|
EXPOSE 1242
|
||||||
|
|||||||
@@ -6,9 +6,9 @@ RUN echo "node: $(node --version)" && \
|
|||||||
npm ci && \
|
npm ci && \
|
||||||
npm run-script deploy
|
npm run-script deploy
|
||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/core/sdk:3.0 AS build-dotnet
|
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build-dotnet
|
||||||
ENV CONFIGURATION Release
|
ENV CONFIGURATION Release
|
||||||
ENV NET_CORE_VERSION netcoreapp3.0
|
ENV NET_CORE_VERSION netcoreapp3.1
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=build-node /app/dist ASF-ui/dist
|
COPY --from=build-node /app/dist ASF-ui/dist
|
||||||
COPY ArchiSteamFarm ArchiSteamFarm
|
COPY ArchiSteamFarm ArchiSteamFarm
|
||||||
@@ -22,7 +22,7 @@ RUN dotnet --info && \
|
|||||||
dotnet publish ArchiSteamFarm -c "$CONFIGURATION" -f "$NET_CORE_VERSION" -o 'out' /nologo /p:ASFVariant=docker /p:PublishTrimmed=false /p:UseAppHost=false && \
|
dotnet publish ArchiSteamFarm -c "$CONFIGURATION" -f "$NET_CORE_VERSION" -o 'out' /nologo /p:ASFVariant=docker /p:PublishTrimmed=false /p:UseAppHost=false && \
|
||||||
cp "ArchiSteamFarm/overlay/generic/ArchiSteamFarm.sh" "out/ArchiSteamFarm.sh"
|
cp "ArchiSteamFarm/overlay/generic/ArchiSteamFarm.sh" "out/ArchiSteamFarm.sh"
|
||||||
|
|
||||||
FROM mcr.microsoft.com/dotnet/core/aspnet:3.0-buster-slim AS runtime
|
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS runtime
|
||||||
ENV ASPNETCORE_URLS=
|
ENV ASPNETCORE_URLS=
|
||||||
LABEL maintainer="JustArchi <JustArchi@JustArchi.net>"
|
LABEL maintainer="JustArchi <JustArchi@JustArchi.net>"
|
||||||
EXPOSE 1242
|
EXPOSE 1242
|
||||||
|
|||||||
@@ -9,11 +9,11 @@ environment:
|
|||||||
CROWDIN_API_KEY:
|
CROWDIN_API_KEY:
|
||||||
secure: oGuZaQo2z5/JkEYaKrD9Ing+TgwZ3qQVf+9Jdz73Fephy04z5rWPGCCtkjaMLTcY
|
secure: oGuZaQo2z5/JkEYaKrD9Ing+TgwZ3qQVf+9Jdz73Fephy04z5rWPGCCtkjaMLTcY
|
||||||
CROWDIN_PROJECT_IDENTIFIER: archisteamfarm
|
CROWDIN_PROJECT_IDENTIFIER: archisteamfarm
|
||||||
DOTNET_CHANNEL: 3.0
|
DOTNET_CHANNEL: 3.1
|
||||||
DOTNET_CLI_TELEMETRY_OPTOUT: true
|
DOTNET_CLI_TELEMETRY_OPTOUT: true
|
||||||
DOTNET_INSTALL_DIR: C:\Program Files\dotnet
|
DOTNET_INSTALL_DIR: C:\Program Files\dotnet
|
||||||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
|
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
|
||||||
NET_CORE_VERSION: netcoreapp3.0
|
NET_CORE_VERSION: netcoreapp3.1
|
||||||
NET_FRAMEWORK_VERSION: net48
|
NET_FRAMEWORK_VERSION: net48
|
||||||
VARIANTS: generic generic-netf linux-arm linux-x64 osx-x64 win-x64 # NOTE: When modifying variants, don't forget to update ASF_VARIANT definitions in SharedInfo.cs!
|
VARIANTS: generic generic-netf linux-arm linux-x64 osx-x64 win-x64 # NOTE: When modifying variants, don't forget to update ASF_VARIANT definitions in SharedInfo.cs!
|
||||||
matrix:
|
matrix:
|
||||||
|
|||||||
Reference in New Issue
Block a user