-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
58 lines (48 loc) · 1.41 KB
/
.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
54
55
56
57
58
language: minimal
sudo: required
dist: trusty
addons:
apt:
packages:
- wget
- libgmp-dev
- libffi6
- ocl-icd-libopencl1
- opencl-headers
# cache:
# directories:
# - $HOME/.stack
# - $TRAVIS_BUILD_DIR/barc/.stack-work
# - multirust
# timeout: 300
before_install:
# Rust
- (if [ ! -d multirust ]; then git clone --recursive --depth 1 https://github.com/brson/multirust; cd multirust; git submodule update --init; ./build.sh; fi)
- (cd multirust; sudo ./install.sh)
- multirust default 1.26.0
- rustc --version
# # Haskell
# - export PATH=$HOME/.local/bin:$PATH
# - mkdir -p ~/.local/bin
# - curl -sL https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack';
# - stack --no-terminal setup --verbose
# - (cd barc; stack build --fast)
# install Futhark
- wget http://futhark-lang.org/releases/futhark-nightly-linux-x86_64.tar.xz
- tar xf futhark-nightly-linux-x86_64.tar.xz
- (cd futhark-nightly-linux-x86_64/ && PREFIX=$HOME/.local make install)
# Go
- sudo apt-get -y install golang
install:
- pwd
- ls
- (cd bankopladeformat; make)
- (cd bankopak; DISABLE_RUST=1 make)
- (cd bankoviser; make)
- (cd bankoconv; make)
# - (cd barc; stack build --fast)
- (cd futbankosim; make)
script:
- (cd bankopak; DISABLE_RUST=1 make test)
# - (cd barc; stack install)
# - (cd barc/banko; make test)