Skip to content

Commit

Permalink
CI: add Linux ARM32 build
Browse files Browse the repository at this point in the history
  • Loading branch information
theofficialgman committed Feb 6, 2024
1 parent 6164f31 commit 88663b1
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
arch: x64
- platform: ubuntu-latest
arch: arm64
- platform: ubuntu-latest
arch: arm
- platform: windows-latest
arch: x64

Expand Down
12 changes: 10 additions & 2 deletions Celeste64.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<Platforms>x64;ARM64</Platforms>
<Platforms>x64;ARM64;ARM</Platforms>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down Expand Up @@ -35,11 +35,19 @@
<IsArm64>true</IsArm64>
</PropertyGroup>

<PropertyGroup Condition="($(RuntimeIdentifier) == '' and $([System.Runtime.InteropServices.RuntimeInformation]::OSArchitecture) == 'Arm') or $(RuntimeIdentifier.EndsWith('arm'))">
<IsArm>true</IsArm>
</PropertyGroup>

<ItemGroup Condition="$(IsLinux) == 'true' and $(IsArm64) == 'true'">
<Content Include="Source/Audio/FMOD/libs/libarm64/**" CopyToOutputDirectory="PreserveNewest" Link="%(Filename)%(Extension)" />
</ItemGroup>

<ItemGroup Condition="$(IsLinux) == 'true' and $(IsArm64) != 'true'">
<ItemGroup Condition="$(IsLinux) == 'true' and $(IsArm) == 'true'">
<Content Include="Source/Audio/FMOD/libs/libarm/**" CopyToOutputDirectory="PreserveNewest" Link="%(Filename)%(Extension)" />
</ItemGroup>

<ItemGroup Condition="$(IsLinux) == 'true' and $(IsArm64) != 'true' and $(IsArm) != 'true'">
<Content Include="Source/Audio/FMOD/libs/lib64/**" CopyToOutputDirectory="PreserveNewest" Link="%(Filename)%(Extension)" />
</ItemGroup>

Expand Down
1 change: 1 addition & 0 deletions Source/Audio/FMOD/libs/libarm/libfmod.so
1 change: 1 addition & 0 deletions Source/Audio/FMOD/libs/libarm/libfmod.so.13
Binary file added Source/Audio/FMOD/libs/libarm/libfmod.so.13.18
Binary file not shown.
1 change: 1 addition & 0 deletions Source/Audio/FMOD/libs/libarm/libfmodstudio.so
1 change: 1 addition & 0 deletions Source/Audio/FMOD/libs/libarm/libfmodstudio.so.13
Binary file not shown.

0 comments on commit 88663b1

Please sign in to comment.