-
Notifications
You must be signed in to change notification settings - Fork 6
51 lines (42 loc) · 1.11 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
name: Code CI
on:
push:
paths-ignore:
- "**.md"
pull_request:
paths-ignore:
- "**.md"
jobs:
ubuntu-tcc:
runs-on: ubuntu-latest
timeout-minutes: 30
env:
VFLAGS: -cc tcc -no-retry-compilation
steps:
# - name: Install dependencies
# run: |
# sudo apt-get update
# sudo apt-get install --quiet -y libsdl2-dev libsdl2-ttf-dev
# sudo apt-get install --quiet -y libsdl2-mixer-dev libsdl2-image-dev
- name: Checkout V
uses: actions/checkout@v2
with:
repository: vlang/v
- name: Build local v
run: make -j4 && sudo ./v symlink
- name: Checkout miniaudio
uses: actions/checkout@v2
with:
path: miniaudio
- name: Link local miniaudio folder in ~/.vmodules/miniaudio
run: |
cd miniaudio
mkdir -p ~/.vmodules
ln -s $(pwd) ~/.vmodules/miniaudio
- name: Test code formatting
run: |
cd miniaudio
v test-fmt
v fmt -verify .
# - name: Run tests
# run: v -d ci test miniaudio