diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 23ab33c..c96e510 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -60,6 +60,7 @@ jobs:
libdrm-dev${{ matrix.platform.target_apt_arch }} \
libgbm-dev${{ matrix.platform.target_apt_arch }} \
libpulse-dev${{ matrix.platform.target_apt_arch }} \
+ libhidapi-dev${{ matrix.platform.target_apt_arch }} \
libwayland-client++0$ \
libwayland-cursor++0$ \
wayland-scanner++ \
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..3f6350b
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,34 @@
+name: Build
+
+on:
+ workflow_dispatch:
+ inputs: {}
+ #push:
+ # branches: [ master ]
+
+jobs:
+ build:
+ runs-on: windows-latest
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: Setup .NET
+ uses: actions/setup-dotnet@v1
+ with:
+ dotnet-version: 6.0.x
+ - uses: nuget/setup-nuget@v1
+ with:
+ nuget-api-key: ${{ secrets.NUGET_API_KEY }}
+ nuget-version: '6.x'
+ - name: Restore dependencies
+ run: dotnet restore
+ - name: Build
+ run: dotnet build --no-restore
+ - name: Test
+ run: dotnet test --no-build --verbosity normal
+ - name: Pack & Publish
+ run: |
+ dotnet pack --version-suffix "build${{ github.run_number }}" -c Release .\SDL2-CS.csproj -o .
+ $file_to_publish = Get-ChildItem -Path $dir -Filter *.nupkg | Select -First 1
+ echo $file_to_publish
+ nuget push $file_to_publish -Source https://api.nuget.org/v3/index.json
diff --git a/SDL2-CS.csproj b/SDL2-CS.csproj
index 94169f5..75a5b9a 100644
--- a/SDL2-CS.csproj
+++ b/SDL2-CS.csproj
@@ -8,13 +8,14 @@
libSDL2 bindings for C#
SDL2
false
+ 2.0.19
- ppy Pty Ltd & flibitijibibo
+ Thog & ppy Pty Ltd & flibitijibibo
SDL2#
- ppy.SDL2-CS
- https://github.com/ppy/SDL2-CS
- https://github.com/ppy/SDL2-CS
+ Ryujinx.SDL2-CS
+ https://github.com/Ryujinx/SDL2-CS
+ https://github.com/Ryujinx/SDL2-CS