2021-01-19 22:07:47 +08:00
|
|
|
name: .NET
|
2020-07-21 10:26:33 +08:00
|
|
|
|
2020-12-13 09:53:01 +08:00
|
|
|
on: [push, pull_request]
|
2020-07-21 10:26:33 +08:00
|
|
|
|
|
|
|
jobs:
|
2020-11-11 02:21:37 -08:00
|
|
|
|
2020-12-13 09:53:01 +08:00
|
|
|
Build:
|
2020-07-26 14:54:30 +08:00
|
|
|
strategy:
|
|
|
|
matrix:
|
2020-12-13 09:53:01 +08:00
|
|
|
include:
|
|
|
|
- { path: Binding, plugin: ScriptRunner }
|
|
|
|
- { path: Filter, plugin: MeL }
|
|
|
|
- { path: Filter, plugin: PrecisionControl }
|
|
|
|
- { path: Filter, plugin: Reconstructor }
|
|
|
|
- { path: OutputMode, plugin: TouchEmu }
|
|
|
|
- { path: OutputMode, plugin: VMultiMode }
|
|
|
|
- { path: OutputMode, plugin: WindowsInk }
|
|
|
|
- { path: Tool, plugin: OemKill }
|
2020-07-21 10:26:33 +08:00
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2020-08-28 03:24:37 +08:00
|
|
|
- uses: actions/checkout@master
|
|
|
|
with:
|
|
|
|
submodules: recursive
|
2020-11-11 02:21:37 -08:00
|
|
|
|
2020-12-02 18:13:26 +08:00
|
|
|
- name: Setup NET 5
|
2020-11-11 02:21:37 -08:00
|
|
|
uses: actions/setup-dotnet@main
|
|
|
|
with:
|
2021-01-19 22:07:47 +08:00
|
|
|
dotnet-version: 5.0.x
|
2020-11-11 02:21:37 -08:00
|
|
|
|
2020-07-26 14:54:30 +08:00
|
|
|
- name: Build
|
2020-07-26 15:06:16 +08:00
|
|
|
env:
|
2020-12-13 09:53:01 +08:00
|
|
|
path: ${{ matrix.path }}
|
2020-07-26 15:06:16 +08:00
|
|
|
plugin: ${{ matrix.plugin }}
|
2020-12-13 09:53:01 +08:00
|
|
|
run: dotnet publish $path/$plugin --configuration Release --framework net5 -o ./build/$plugin
|
2020-11-11 02:21:37 -08:00
|
|
|
|
2020-12-13 09:53:01 +08:00
|
|
|
- uses: actions/upload-artifact@main
|
2020-07-26 14:07:13 +08:00
|
|
|
with:
|
2020-07-26 14:54:30 +08:00
|
|
|
name: ${{ matrix.plugin }}
|
2020-07-26 14:07:13 +08:00
|
|
|
path: |
|
2020-11-11 02:21:37 -08:00
|
|
|
./build/${{ matrix.plugin }}/*.dll
|
|
|
|
!./build/${{ matrix.plugin }}/*.json
|
|
|
|
!./build/${{ matrix.plugin }}/*.pdb
|
|
|
|
!./build/${{ matrix.plugin }}/OpenTabletDriver.Plugin.dll
|
|
|
|
!./build/${{ matrix.plugin }}/Newtonsoft.Json.dll
|
2020-11-22 18:17:32 +08:00
|
|
|
!./build/${{ matrix.plugin }}/HidSharpCore.dll
|