This commit is contained in:
wieslawsoltes 2020-07-03 10:39:23 +00:00
Родитель 9be2976287
Коммит 18d61d225f
3 изменённых файлов: 11 добавлений и 9 удалений

6
.github/workflows/build.yml поставляемый
Просмотреть файл

@ -55,7 +55,7 @@ jobs:
if: github.event_name != 'pull_request'
run: |
dotnet publish -c Release /p:PublishTrimmed=True /p:PublishReadyToRun=True -f netcoreapp3.1 -r win7-x64 -o ./artifacts/TypefaceUtil-netcoreapp3.1-win7-x64 ./src/TypefaceUtil/TypefaceUtil.csproj
dotnet publish -c Release /p:PublishTrimmed=False /p:PublishReadyToRun=False -f netcoreapp3.1 -r win-x64 -o ./artifacts/TypefaceUtil-win-x64 ./src/TypefaceUtil/TypefaceUtil.csproj
dotnet publish -c Release /p:PublishTrimmed=False /p:PublishReadyToRun=False /p:CoreRT=True -f netcoreapp3.1 -r win-x64 -o ./artifacts/TypefaceUtil-win-x64 ./src/TypefaceUtil/TypefaceUtil.csproj
del artifacts\TypefaceUtil-win-x64\*.pdb
del artifacts\TypefaceUtil-win-x64\*.json
- name: Artifacts
@ -88,7 +88,7 @@ jobs:
dotnet publish -c Release /p:PublishTrimmed=True /p:PublishReadyToRun=True -f netcoreapp3.1 -r debian.8-x64 -o ./artifacts/TypefaceUtil-netcoreapp3.1-debian.8-x64 ./src/TypefaceUtil/TypefaceUtil.csproj
dotnet publish -c Release /p:PublishTrimmed=True /p:PublishReadyToRun=True -f netcoreapp3.1 -r ubuntu.14.04-x64 -o ./artifacts/TypefaceUtil-netcoreapp3.1-ubuntu.14.04-x64 ./src/TypefaceUtil/TypefaceUtil.csproj
# sudo apt-get install clang zlib1g-dev libkrb5-dev libtinfo5
# dotnet publish -c Release /p:PublishTrimmed=False /p:PublishReadyToRun=False -f netcoreapp3.1 -r linux-x64 -o ./artifacts/TypefaceUtil-linux-x64 ./src/TypefaceUtil/TypefaceUtil.csproj
# dotnet publish -c Release /p:PublishTrimmed=False /p:PublishReadyToRun=False /p:CoreRT=True -f netcoreapp3.1 -r linux-x64 -o ./artifacts/TypefaceUtil-linux-x64 ./src/TypefaceUtil/TypefaceUtil.csproj
# strip ./artifacts/TypefaceUtil-linux-x64/TypefaceUtil
# rm ./artifacts/TypefaceUtil-linux-x64/*.pdb
# rm ./artifacts/TypefaceUtil-linux-x64/*.json
@ -126,7 +126,7 @@ jobs:
if: github.event_name != 'pull_request'
run: |
dotnet publish -c Release /p:PublishTrimmed=True /p:PublishReadyToRun=True -f netcoreapp3.1 -r osx.10.12-x64 -o ./artifacts/TypefaceUtil-netcoreapp3.1-osx.10.12-x64 ./src/TypefaceUtil/TypefaceUtil.csproj
# dotnet publish -c Release /p:PublishTrimmed=False /p:PublishReadyToRun=False -f netcoreapp3.1 -r osx-x64 -o ./artifacts/TypefaceUtil-osx-x64 ./src/TypefaceUtil/TypefaceUtil.csproj
# dotnet publish -c Release /p:PublishTrimmed=False /p:PublishReadyToRun=False /p:CoreRT=True -f netcoreapp3.1 -r osx-x64 -o ./artifacts/TypefaceUtil-osx-x64 ./src/TypefaceUtil/TypefaceUtil.csproj
# strip ./artifacts/TypefaceUtil-osx-x64/TypefaceUtil
# rm ./artifacts/TypefaceUtil-osx-x64/*.pdb
# rm ./artifacts/TypefaceUtil-osx-x64/*.json

Просмотреть файл

@ -98,21 +98,21 @@ dotnet publish -c Release /p:PublishTrimmed=True /p:PublishReadyToRun=True -f ne
```
```
dotnet publish -c Release /p:PublishTrimmed=False /p:PublishReadyToRun=False -f netcoreapp3.1 -r win-x64 -o ./artifacts/TypefaceUtil-win-x64 ./src/TypefaceUtil/TypefaceUtil.csproj
dotnet publish -c Release /p:PublishTrimmed=False /p:PublishReadyToRun=False /p:CoreRT=True -f netcoreapp3.1 -r win-x64 -o ./artifacts/TypefaceUtil-win-x64 ./src/TypefaceUtil/TypefaceUtil.csproj
del artifacts\TypefaceUtil-win-x64\*.pdb
del artifacts\TypefaceUtil-win-x64\*.json
```
```
sudo apt-get install clang zlib1g-dev libkrb5-dev libtinfo5
dotnet publish -c Release /p:PublishTrimmed=False /p:PublishReadyToRun=False -f netcoreapp3.1 -r linux-x64 -o ./artifacts/TypefaceUtil-linux-x64 ./src/TypefaceUtil/TypefaceUtil.csproj
dotnet publish -c Release /p:PublishTrimmed=False /p:PublishReadyToRun=False /p:CoreRT=True -f netcoreapp3.1 -r linux-x64 -o ./artifacts/TypefaceUtil-linux-x64 ./src/TypefaceUtil/TypefaceUtil.csproj
strip ./artifacts/TypefaceUtil-linux-x64/TypefaceUtil
rm ./artifacts/TypefaceUtil-linux-x64/*.pdb
rm ./artifacts/TypefaceUtil-linux-x64/*.json
```
```
dotnet publish -c Release /p:PublishTrimmed=False /p:PublishReadyToRun=False -f netcoreapp3.1 -r osx-x64 -o ./artifacts/TypefaceUtil-osx-x64 ./src/TypefaceUtil/TypefaceUtil.csproj
dotnet publish -c Release /p:PublishTrimmed=False /p:PublishReadyToRun=False /p:CoreRT=True -f netcoreapp3.1 -r osx-x64 -o ./artifacts/TypefaceUtil-osx-x64 ./src/TypefaceUtil/TypefaceUtil.csproj
strip ./artifacts/TypefaceUtil-osx-x64/TypefaceUtil
rm ./artifacts/TypefaceUtil-osx-x64/*.pdb
rm ./artifacts/TypefaceUtil-osx-x64/*.json

Просмотреть файл

@ -32,7 +32,7 @@
</PropertyGroup>
-->
<PropertyGroup>
<PropertyGroup Condition="'$(CoreRT)' == 'True'">
<IlcInvariantGlobalization>true</IlcInvariantGlobalization>
<!--
<RootAllApplicationAssemblies>false</RootAllApplicationAssemblies>
@ -45,14 +45,16 @@
-->
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.DotNet.ILCompiler" Version="1.0.0-alpha-*" />
<PackageReference Include="System.CommandLine" Version="2.0.0-beta1.20303.1" />
<PackageReference Include="SkiaSharp" Version="1.68.3" />
<PackageReference Include="SkiaSharp.NativeAssets.Linux" Version="1.68.3" />
</ItemGroup>
<ItemGroup Condition="'$(CoreRT)' == 'True'">
<PackageReference Include="Microsoft.DotNet.ILCompiler" Version="1.0.0-alpha-*" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\TypefaceUtil.OpenType\TypefaceUtil.OpenType.csproj" />
</ItemGroup>