-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (40 loc) · 954 Bytes
/
CI.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Build and Test
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
env:
CONFIGURATION: Release
DOTNET_VERSION: 9.0.x
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install Package libmsquic
run: |
sudo apt update
sudo apt install -y libmsquic
shell: sh
- name: Build
run: dotnet build Http3Tools.sln --configuration ${{ env.CONFIGURATION }}
- name: Test
run: dotnet test Http3Tools.sln --configuration ${{ env.CONFIGURATION }}
- name: Publish VSCE
run: |
pushd ./src/VSCodeExt/
npm install
npm run vsce-deploy
popd