-
Notifications
You must be signed in to change notification settings - Fork 17
52 lines (45 loc) · 1.02 KB
/
analyzer_tests.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
name: Analyzer tests
on:
push:
paths-ignore:
- '.github/**'
- 'editors/code/**'
- '**/*.md'
pull_request:
paths-ignore:
- '.github/**'
- 'editors/code/**'
- '**/*.md'
jobs:
test:
strategy:
matrix:
include:
- os: macos-latest
cc: -cc clang
- os: ubuntu-latest
cc: -cc gcc
- os: windows-latest
cc: -cc gcc
fail-fast: false
name: Analyzer tests on ${{ matrix.os }} with ${{ matrix.cc }}
runs-on: ${{ matrix.os }}
steps:
- name: Install V
id: install-v
uses: vlang/[email protected]
with:
check-latest: true
- name: Checkout v-analyzer
uses: actions/checkout@v4
with:
path: v-analyzer
submodules: true
- name: Run tests
run: |
cd v-analyzer/tests
v ${{ matrix.cc }} run .
- name: Run other V tests
run: |
cd v-analyzer
v ${{ matrix.cc }} test .