-
Notifications
You must be signed in to change notification settings - Fork 0
63 lines (46 loc) · 1.25 KB
/
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: windows-registry quality code CI
concurrency:
group: ci-${{ github.event.number }}
cancel-in-progress: true
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
fmt-check:
runs-on: ubuntu-22.04
steps:
- name: Setup V
uses: vlang/[email protected]
with:
check-latest: true
- name: V doctor
run: v doctor
- name: Install winreg
run: |
v install Ddiidev.winreg
- name: Move winreg source code to path start
run: mv ~/.vmodules/ddiidev/winreg ~/winreg
- name: Verify Fmt
run: v fmt -verify ~/winreg
run-tests:
runs-on: windows-latest
steps:
- name: Setup V
uses: vlang/[email protected]
with:
check-latest: true
- name: V doctor
run: v doctor
- name: Install winreg
run: |
v install Ddiidev.winreg
- name: Move winreg source code to path start
run: mv $env:userprofile\.vmodules\ddiidev\winreg $env:userprofile\desktop\winreg
- name: Execute Tests using Pure V Backend
run: v -cc tcc -stats test $env:userprofile\desktop\winreg