Skip to content

Commit

Permalink
wip: ci3
Browse files Browse the repository at this point in the history
  • Loading branch information
vobradovich committed Nov 6, 2024
1 parent 9fe76e6 commit b0b675d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/net-build-client-gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,16 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: linux-x64
path: ./target/release/sails_client_gen_dotnet.so
path: ./target/release/libsails_client_gen_dotnet.so
retention-days: 1

osx-arm64:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- run: cargo build -p sails-client-gen-dotnet --release
- uses: actions/upload-artifact@v4
with:
name: linux-x64
path: ./target/release/libsails_client_gen_dotnet.dylib
retention-days: 1
4 changes: 4 additions & 0 deletions net/src/Sails.ClientGenerator/Sails.ClientGenerator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
</None>
</ItemGroup>

<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
<Exec Command="cargo build -p sails-client-gen-dotnet --release" />
</Target>

<!-- for nuget publish -->
<Target Name="PackBuildOutputs" DependsOnTargets="SatelliteDllsProjectOutputGroup;DebugSymbolsProjectOutputGroup">
<ItemGroup>
Expand Down

0 comments on commit b0b675d

Please sign in to comment.