-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (30 loc) · 899 Bytes
/
Copy pathbuild.yml
File metadata and controls
40 lines (30 loc) · 899 Bytes
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
name: Build
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Type check
run: bun run tsc --noEmit
- name: Build vslsp binary
run: bun build --compile --minify vslsp.ts --outfile vslsp
- name: Build vslsp-mcp binary
run: bun build --compile --minify mcp.ts --outfile vslsp-mcp
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: '9.0.x'
- name: Build CSharpMapper
run: dotnet publish tools/csharp-mapper/CSharpMapper.csproj -c Release -o tools/csharp-mapper/publish