From daa124aee139c3a5d1459c6ab581c7a8939aaf2f Mon Sep 17 00:00:00 2001 From: Chris Dill Date: Thu, 20 Jun 2024 21:10:01 +0100 Subject: [PATCH] Fix build (#254) --- .github/workflows/build.yml | 4 ++-- Raylib-cs.Native/Raylib-cs.Native.csproj | 23 ++++++++++++++++++++++- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 08b534b..2080670 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -84,7 +84,7 @@ jobs: dotnet-version: 6.0.x - name: build projects - run: dotnet build -c Release + run: dotnet build -c Release /p:BuildArch=${{ matrix.arch }} - name: run tests run: dotnet test Raylib-cs.Tests -c Release @@ -117,7 +117,7 @@ jobs: dotnet-version: 6.0.x - name: build projects - run: dotnet build -c Release + run: dotnet build -c Release /p:BuildArch=${{ matrix.arch }} - name: run tests run: dotnet test Raylib-cs.Tests -c Release diff --git a/Raylib-cs.Native/Raylib-cs.Native.csproj b/Raylib-cs.Native/Raylib-cs.Native.csproj index 355beb6..ae4733e 100644 --- a/Raylib-cs.Native/Raylib-cs.Native.csproj +++ b/Raylib-cs.Native/Raylib-cs.Native.csproj @@ -10,18 +10,39 @@ so lib + x64 dylib lib + x86_x64 + $(BuildArch) dll $(Configuration)/ + x64 + $(BuildArch) + + + + + + + + + + + + + + + + - +