-
Notifications
You must be signed in to change notification settings - Fork 17
49 lines (42 loc) · 977 Bytes
/
build_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
name: Build CI
on:
push:
paths-ignore:
- '.github/**'
- '!**/build_ci.yml'
- '**/test/**'
- '**/tests/**'
- '**/*.md'
- '**/test_*.v'
- '**/*_test.v'
pull_request:
paths-ignore:
- '.github/**'
- '!**/build_ci.yml'
- '**/test/**'
- '**/tests/**'
- '**/*.md'
- '**/test_*.v'
- '**/*_test.v'
jobs:
test:
strategy:
matrix:
os: [ubuntu-20.04, macos-latest, windows-latest]
mode: [debug, dev, release]
fail-fast: false
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:
submodules: true
- name: Build
run: v run build.vsh ${{ matrix.mode }}
- name: Check if the build is successful
run: ./bin/v-analyzer --version