Skip to content

Use a native ARM runner #16

Use a native ARM runner

Use a native ARM runner #16

Workflow file for this run

name: Build SDL2-CS
on:
pull_request:
workflow_call:
workflow_dispatch:
permissions:
contents: read
jobs:
compile:
name: Compile SDL2-CS
runs-on: ubuntu-22.04
steps:
- name: Clone Repository
uses: actions/checkout@v3
# Since SDL2-CS.csproj targets netstandard2.0 we don't need .NET 6, but let's not risk having outdated support for older versions.
- name: Install .NET 6
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
- name: Compile
run: |
dotnet build SDL2-CS.sln
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: SDL2-CS
path: ./bin