Skip to content

Fix wrong binding signatures, remove unused ones and partially fix Wi… #73

Fix wrong binding signatures, remove unused ones and partially fix Wi…

Fix wrong binding signatures, remove unused ones and partially fix Wi… #73

Workflow file for this run

name: CI
on: [push, pull_request, workflow_dispatch]
concurrency:
group: environment-${{github.ref}}
cancel-in-progress: true
env:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
jobs:
build:
name: ${{ matrix.platform.name }} ${{ matrix.dotnet.name }}
runs-on: ${{ matrix.platform.os }}
strategy:
fail-fast: false
matrix:
platform:
- { name: Linux, os: ubuntu-22.04 }
- { name: Windows, os: windows-2022 }
- { name: MacOS Intel, os: macos-13 }
dotnet:
- { name: .NET Core 3.1, version: "3.1" }
- { name: .NET 6, version: "6.0.x" }
- { name: .NET 7, version: "7.0.x" }
- { name: .NET 8, version: "8.0.x" }
include:
- platform: { name: MacOS M1, os: macos-14 }
dotnet: { name: .NET 6, version: "6.0.x" }
- platform: { name: MacOS M1, os: macos-14 }
dotnet: { name: .NET 7, version: "7.0.x" }
- platform: { name: MacOS M1, os: macos-14 }
dotnet: { name: .NET 8, version: "8.0.x" }
steps:
- uses: actions/checkout@v4
- name: Setup .NET ${{ matrix.dotnet.version }} SDK
id: setup-dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet.version }}
- name: Enforce SDK Version
run: dotnet new globaljson --sdk-version ${{ steps.setup-dotnet.outputs.dotnet-version }} --force
- name: Verify SDK Installation
run: dotnet --info
- name: Install Dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Pack
run: dotnet pack --configuration Release -o Publish
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: SFML.Net (${{ matrix.platform.name }} ${{ matrix.dotnet.name }})
path: Publish/SFML.*.*.nupkg