forked from vlang/coreutils
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) · 843 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
42
name: Build and Test
on: [push, pull_request]
jobs:
ubuntu:
runs-on: ubuntu-latest
steps:
- name: Checkout Latest V
uses: actions/checkout@v2
with:
repository: vlang/v
path: v
- name: Checkout Coreutils
uses: actions/checkout@v2
with:
path: coreutils
- name: Build V
run: |
cd v
make
sudo ./v symlink
cd -
- name: V doctor
run: v doctor
- name: Native utils diagnostics
run: |
sleep --version
uptime -V
- name: Ensure everything is formatted
run: cd coreutils && make testfmt
- name: Run tests
run: cd coreutils && make test
- name: Build all
run: cd coreutils && v run build.vsh
- name: Build all with -prod
run: cd coreutils && v run build.vsh -prod