Skip to content

Commit

Permalink
Try something else
Browse files Browse the repository at this point in the history
  • Loading branch information
deathbeam committed Oct 20, 2024
1 parent 7a7e99c commit c00cdce
Showing 1 changed file with 27 additions and 3 deletions.
30 changes: 27 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
natives:
strategy:
matrix:
distribution: [linux-x64, osx-x64, win-x64]
distribution: [linux-x64, win-x64]
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
Expand All @@ -41,8 +41,8 @@ jobs:
shell: bash
run: |
sudo apt-get update -qq
sudo apt-get install build-essential gcc-multilib
sudo apt-get install \
gcc-multilib \
libasound2-dev \
libx11-dev \
libxrandr-dev \
Expand All @@ -65,9 +65,33 @@ jobs:
path: src/Raylib.NET.Native/bin/Release/native/${{ matrix.distribution }}/*
if-no-files-found: error

natives-osx:
runs-on: macos-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: true

- name: Setup .NET 8
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x

- name: Build Natives
run: dotnet build -c Release -r osx-x64
working-directory: src/Raylib.NET.Native

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: natives-osx-x64
path: src/Raylib.NET.Native/bin/Release/native/osx-x64/*
if-no-files-found: error

nuget:
runs-on: ubuntu-latest
needs: [bindgen, natives]
needs: [bindgen, natives, natives-osx]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down

0 comments on commit c00cdce

Please sign in to comment.