Skip to content

Commit

Permalink
Feat/include libs (#2)
Browse files Browse the repository at this point in the history
* set build to include all libs

* added xplatform libs
  • Loading branch information
Stalker2106 authored Nov 18, 2024
1 parent 507e5d8 commit 50e3a7c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ jobs:
# Windows build
- name: Windows Build
run: |
dotnet publish -r win-x64 -p:PublishSingleFile=True --self-contained --output $BUILD_PATH_ROOT/
dotnet publish -r win-x64 --self-contained --output $BUILD_PATH_ROOT/
mv $BUILD_PATH_ROOT/$EXPORT_NAME.exe $BUILD_PATH_ROOT/$EXPORT_NAME-$WIN_BUILD_NAME.exe
# Linux build
- name: Linux Build
run: |
dotnet publish -r linux-x64 -p:PublishSingleFile=True --self-contained --output $BUILD_PATH_ROOT/
dotnet publish -r linux-x64 --self-contained --output $BUILD_PATH_ROOT/
mv $BUILD_PATH_ROOT/$EXPORT_NAME $BUILD_PATH_ROOT/$EXPORT_NAME-$LINUX_BUILD_NAME
# MacOS build
- name: MacOS Build
run: |
dotnet publish -r osx-x64 -p:PublishSingleFile=True --self-contained --output $BUILD_PATH_ROOT/
dotnet publish -r osx-x64 --self-contained --output $BUILD_PATH_ROOT/
mv $BUILD_PATH_ROOT/$EXPORT_NAME $BUILD_PATH_ROOT/$EXPORT_NAME-$MACOS_BUILD_NAME
# Release to this repo
- name: Private Release
Expand Down
4 changes: 4 additions & 0 deletions wad3-cli.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@
<RootNamespace>wad3_cli</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PublishSingleFile>true</PublishSingleFile>
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="KGySoft.Drawing.SkiaSharp" Version="8.1.0" />
<PackageReference Include="nQuant.Master" Version="1.3.1" />
<PackageReference Include="SkiaSharp" Version="2.88.9" />
<PackageReference Include="SkiaSharp.NativeAssets.Linux" Version="2.88.9" />
<PackageReference Include="SkiaSharp.NativeAssets.macOS" Version="2.88.9" />
<PackageReference Include="Sledge.Formats" Version="1.3.0" />
<PackageReference Include="Sledge.Formats.Texture" Version="1.1.0" />
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
Expand Down

0 comments on commit 50e3a7c

Please sign in to comment.