-
Notifications
You must be signed in to change notification settings - Fork 57
/
.travis.yml
70 lines (70 loc) · 2.52 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
59
60
61
62
63
64
65
66
67
68
69
70
language: cpp
dist: jammy
env: SWIFT_VERSION=6.0.3
vm:
size: large
jobs:
- name: coverage
install:
- sudo apt update
- sudo apt install dotnet-sdk-8.0
- dotnet tool install -g dotnet-coverage
- curl -Os https://uploader.codecov.io/latest/linux/codecov
- chmod +x codecov
script: PATH+=:$HOME/.dotnet/tools make codecov
- name: c, cl, error
install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt install g++-13
- sudo sysctl vm.mmap_rnd_bits=28
script: make -j5 test-c test-cl test-error CXX=g++-13
- name: cpp, java
install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt install g++-13
- sudo sysctl vm.mmap_rnd_bits=28
script: make -j5 test-cpp test-java CXX=g++-13
- name: cs
install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt install g++-13 dotnet-sdk-8.0
script: make -j5 test-cs CXX=g++-13
- name: d
install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt install g++-13
- curl -fsS https://dlang.org/install.sh -O
- bash install.sh
script: source `bash install.sh -a` && make -j5 test-d CXX=g++-13
- name: js, ts
install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt install g++-13
- nvm install --lts
script: make -j5 test-js test-ts CXX=g++-13
- name: py, swift
install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository -y ppa:deadsnakes/ppa
- sudo apt install g++-13 python3.12
- pip install mypy
- wget https://swift.org/builds/swift-$SWIFT_VERSION-release/ubuntu2204/swift-$SWIFT_VERSION-RELEASE/swift-$SWIFT_VERSION-RELEASE-ubuntu22.04.tar.gz
- tar xf swift-$SWIFT_VERSION-RELEASE-ubuntu22.04.tar.gz -C ..
script: make -j5 test-py test-swift CXX=g++-13 PYTHON=python3.12 SWIFTC=../swift-$SWIFT_VERSION-RELEASE-ubuntu22.04/usr/bin/swiftc
- name: host-diff
install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt install g++-13 dotnet-sdk-8.0
- nvm install --lts
script:
- make -j5 host-diff CXX=g++-13
- make -j5 test-error FUT_HOST=cs
- rm test/bin/*/error.txt
- make -j5 test-error FUT_HOST=node
- name: vscode
install:
- nvm install --lts
script:
- make FUT_HOST=node
- make -C editors/vscode src/fucheck.js FUT_HOST=node
- cd editors/vscode && npm i && npx @vscode/vsce package