Skip to content

Add macos crosscompile, apt search #27

Add macos crosscompile, apt search

Add macos crosscompile, apt search #27

Workflow file for this run

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 update
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