-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
53 lines (42 loc) · 1017 Bytes
/
.travis.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
os: linux
language: c
#https://docs.travis-ci.com/user/reference/overview/
#as per their docs, not every dist/arch combination is allowed.
jobs:
include:
- dist: jammy # 22.04
arch: amd64
compiler: gcc
- dist: jammy # 22.04
arch: amd64
compiler: clang
#- dist: jammy # 22.04
# arch: arm64
- dist: focal # 20.04
arch: amd64
compiler: gcc
- dist: focal # 20.04
arch: amd64
compiler: clang
#- dist: focal # 20.04
# arch: arm64
#- dist: bionic # 18.04
# arch: amd64 #/usr/bin/ld: cannot find -lfl
#- dist: bionic
# arch: arm64
before_install:
- pwd
- dpkg -L libfl-dev
addons:
apt:
packages:
- flex # for the lexer
- libfl-dev # for the lexer
- cmake # build system
- avra # to assemble the .asm files
- clang-format # check formatting
install: pwd
script: make all
env:
global:
PATH=$PATH:$(pwd):$(pwd)/lexer/build:$(pwd)/parser/build:$(pwd)/compiler