Even more updates for actions #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
bindgen-ubuntu: | |
runs-on: ubuntu-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 | |
run: dotnet build -c Release src/Raylib.NET.Bindgen | |
natives-ubuntu: | |
runs-on: ubuntu-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: Setup Environment | |
shell: bash | |
run: | | |
sudo apt-get update -qq | |
sudo apt-get install gcc-multilib | |
sudo apt-get install -y --no-install-recommends libgl1-mesa-dev libx11-dev apt-file | |
sudo apt-file search libX11.so | |
sudo apt-file search libGL.so | |
- name: Build | |
run: dotnet build -c Release src/Raylib.NET.Native | |
# natives: | |
# strategy: | |
# matrix: | |
# os: [ubuntu-latest, macos-latest, windows-latest] | |
# runs-on: ${{ matrix.os }} | |
# 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 | |
# run: dotnet build -c Release |