Skip to content

Commit a6fdf92

Browse files
committed
Update CI to ubuntu 20.04
1 parent 0f71bb7 commit a6fdf92

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.travis.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,25 @@ language: rust
1111
matrix:
1212
include:
1313
- os: linux
14-
dist: xenial
14+
dist: focal
1515
addons:
1616
apt:
1717
sources:
18-
- sourceline: 'deb https://download.01.org/intel-sgx/sgx_repo/ubuntu xenial main'
18+
- sourceline: 'deb https://download.01.org/intel-sgx/sgx_repo/ubuntu focal main'
1919
key_url: 'https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key'
20+
- sourceline: "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-11 main"
21+
key_url: "https://apt.llvm.org/llvm-snapshot.gpg.key"
2022
packages:
2123
- protobuf-compiler
2224
- libsgx-dcap-ql-dev
23-
- libclang-3.8-dev
25+
- clang-11
2426
- musl-tools
2527
rust:
2628
- nightly
2729
env:
28-
- RUST_BACKTRACE=1 LLVM_CONFIG_PATH=llvm-3.8-config
30+
- RUST_BACKTRACE=1
31+
- CFLAGS_x86_64_fortanix_unknown_sgx="-isystem/usr/include/x86_64-linux-gnu -mlvi-hardening -mllvm -x86-experimental-lvi-inline-asm-hardening"
32+
- CC_x86_64_fortanix_unknown_sgx=clang-11
2933
before_script:
3034
- rustup target add x86_64-fortanix-unknown-sgx x86_64-unknown-linux-musl
3135
script:

0 commit comments

Comments
 (0)