mirror of
https://github.com/OpenLogics/MewtocolNet.git
synced 2025-12-06 03:01:24 +00:00
Added test CI on push
This commit is contained in:
23
.github/workflows/dotnet-windows.yml
vendored
23
.github/workflows/dotnet-windows.yml
vendored
@@ -1,23 +0,0 @@
|
|||||||
name: .NET Windows
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ "master" ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ "master" ]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: windows-latest
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
dotnet-version: [ '3.0', '3.1.x', '5.0.x' ]
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- name: Setup dotnet ${{ matrix.dotnet-version }}
|
|
||||||
uses: actions/setup-dotnet@v2
|
|
||||||
with:
|
|
||||||
dotnet-version: ${{ matrix.dotnet-version }}
|
|
||||||
# You can test your matrix by printing the current dotnet version
|
|
||||||
- name: Display dotnet version
|
|
||||||
run: dotnet --version
|
|
||||||
8
.github/workflows/test-on-hardware.yml
vendored
8
.github/workflows/test-on-hardware.yml
vendored
@@ -2,10 +2,10 @@ name: Test mewtocol on real hardware
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
# push:
|
push:
|
||||||
# branches:
|
branches:
|
||||||
# - main
|
- main
|
||||||
# - master
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user