mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2024-12-23 04:55:28 +00:00
Merge pull request #12 from peppy/fix-missing-linux-binaries
Add csproj include rules for linux binaries
This commit is contained in:
commit
51e0a82a3c
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -41,14 +41,14 @@ jobs:
|
|||
cd linux-build
|
||||
docker build -t sdl2-i386 -f Dockerfile.i386 .
|
||||
docker run -v `pwd`/compile:/entry -v /tmp/i386:/io -v /tmp/SDL:/src sdl2-i386
|
||||
cp /tmp/i386/lib/libSDL2-2.0.so.0 ../native/linux-x86
|
||||
cp /tmp/i386/lib/libSDL2-2.0.so.0 ../native/linux-x86/libSDL2.so
|
||||
- name: Build amd64 binaries
|
||||
run: |
|
||||
mkdir /tmp/amd64
|
||||
cd linux-build
|
||||
docker build -t sdl2-amd64 -f Dockerfile.amd64 .
|
||||
docker run -v `pwd`/compile:/entry -v /tmp/amd64:/io -v /tmp/SDL:/src sdl2-amd64
|
||||
cp /tmp/amd64/lib/libSDL2-2.0.so.0 ../native/linux-x64
|
||||
cp /tmp/amd64/lib/libSDL2-2.0.so.0 ../native/linux-x64/libSDL2.so
|
||||
- name: Create pull request
|
||||
uses: peter-evans/create-pull-request@v2
|
||||
with:
|
||||
|
|
|
@ -32,6 +32,16 @@
|
|||
<PackagePath>runtimes/osx-x64/native</PackagePath>
|
||||
<Pack>true</Pack>
|
||||
</Content>
|
||||
<Content Include="$(MSBuildThisFileDirectory)native\linux-x64\libSDL2.so">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<PackagePath>runtimes/linux-x64/native</PackagePath>
|
||||
<Pack>true</Pack>
|
||||
</Content>
|
||||
<Content Include="$(MSBuildThisFileDirectory)native\linux-x86\libSDL2.so">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<PackagePath>runtimes/linux-x86/native</PackagePath>
|
||||
<Pack>true</Pack>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="app.config">
|
||||
|
|
Loading…
Reference in a new issue