File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 61
61
runs-on : ubuntu-20.04
62
62
container : ruby:2.2
63
63
steps :
64
+ - name : Install system dependencies
65
+ run : |
66
+ apt-get update
67
+ apt-get install -y apt-transport-https
68
+ echo 'deb http://apt.llvm.org/jessie/ llvm-toolchain-jessie-8 main' >> /etc/apt/sources.list.d/llvm-8.list
69
+ echo 'deb-src http://apt.llvm.org/jessie/ llvm-toolchain-jessie-8 main' >> /etc/apt/sources.list.d/llvm-8.list
70
+ wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
71
+ apt-get update
72
+ apt-get install -y clang-8 lldb-8 lld-8
73
+ apt-get install -y clang-tools-8 clang-format-8
74
+ apt-get install -y libc++-8-dev libclang-8-dev libc++abi-8-dev
75
+ update-alternatives --install /usr/bin/clang clang /usr/bin/clang-8 100
76
+ update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-8 100
77
+ update-alternatives --install /usr/bin/clangd clangd /usr/bin/clangd-8 100
78
+ update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-8 100
64
79
- name : Checkout
65
80
uses : actions/checkout@v2
66
81
- name : Bundle
Original file line number Diff line number Diff line change 20
20
PYTHON=" ${PYTHON:- python2} "
21
21
fi
22
22
23
+ if cc --version | grep 4.9 > /dev/null; then
24
+ export CC=" clang"
25
+ export CXX=" clang++"
26
+ fi
27
+
23
28
" ${PYTHON} " configure --openssl-no-asm --without-npm --shared --with-intl=small-icu --experimental-enable-pointer-compression
24
29
make -j" ${NJOBS} "
25
30
You can’t perform that action at this time.
0 commit comments