Skip to content

Commit

Permalink
Adjust build order so correct native obj files are packaged inside nupkg
Browse files Browse the repository at this point in the history
  • Loading branch information
CCob committed Sep 1, 2021
1 parent 6ecb03b commit 0ee08b6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@ docker-build:
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=MinSizeRel -DCMAKE_TOOLCHAIN_FILE=../toolchain/Linux-mingw64.cmake ..
- cmake --build .
- cmake --install .
- cmake --build --target bofs_x64 .
- cmake --build --target bofs_x86 .
- cd bofs
- make install
- cd ..
- cmake --build --target bofnet_managed
- cmake --install .
artifacts:
paths:
- build/dist
Expand Down
2 changes: 1 addition & 1 deletion managed/BOFNET/BOFNET.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
</ItemGroup>

<ItemGroup>
<Content Include="../../build/dist/net20/*.cna">
<Content Include="../../*.cna">
<PackagePath>lib/$(TargetFramework)</PackagePath>
<IncludeInPackage>true</IncludeInPackage>
<CopyToOutput>true</CopyToOutput>
Expand Down

0 comments on commit 0ee08b6

Please sign in to comment.