Skip to content

Slightly adjust the SDL logic to try and encourage system opinions fo… #152

Slightly adjust the SDL logic to try and encourage system opinions fo…

Slightly adjust the SDL logic to try and encourage system opinions fo… #152

Workflow file for this run

name: GLFW
on:
push:
branches-ignore:
- "ci/**"
- "develop/**"
- "main"
paths:
- "build/submodules/GLFW"
- "build/nuke/Native/Core.cs"
- "build/nuke/Native/GLFW.cs"
- .github/workflows/glfw.yml
jobs:
Build:
if: github.repository == 'dotnet/Silk.NET'
strategy:
fail-fast: false
matrix:
env:
- os: ubuntu-latest
name: Linux
nuke_invoke: ./build.sh
extras: |
sudo apt-get update
sudo apt-get install -y xorg-dev libwayland-dev libxkbcommon-dev
- os: windows-latest
name: Windows
nuke_invoke: ./build.cmd
extras: ""
- os: macos-latest
name: Darwin
nuke_invoke: ./build.sh
extras: ""
name: ${{ matrix.env.name }} Build
runs-on: ${{ matrix.env.os }}
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.PUSHABLE_GITHUB_TOKEN }}
- name: Checkout submodules, configure git
run: |
git -c submodule.third_party/git-hooks.update=none submodule update --init --recursive --depth 0 build/submodules/GLFW
git config --local user.email "9011267+dotnet-bot@users.noreply.github.com"
git config --local user.name "The Silk.NET Automaton"
- name: Extra prerequisites
run: |
echo running extras
${{ matrix.env.extras }}
- name: Setup .NET 6.0 and .NET 7.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: |
6.0.201
7.0.*
- name: Build GLFW
run: ${{ matrix.env.nuke_invoke }} glfw
env:
PUSHABLE_GITHUB_TOKEN: ${{ secrets.PUSHABLE_GITHUB_TOKEN }}