2021-02-11 22:15:40 +00:00
|
|
|
version: 2.{branch}.{build}
|
|
|
|
|
2021-02-12 14:03:44 +00:00
|
|
|
image:
|
|
|
|
- Ubuntu2004
|
|
|
|
- MacOS
|
2021-02-11 22:15:40 +00:00
|
|
|
|
|
|
|
build: off
|
|
|
|
|
|
|
|
init:
|
|
|
|
|
2021-12-15 16:38:20 +00:00
|
|
|
cache:
|
2022-01-11 22:06:22 +00:00
|
|
|
# - boringssl -> appveyor-linux.yml # we define the commit in here
|
2021-12-15 16:38:20 +00:00
|
|
|
|
2021-02-11 22:15:40 +00:00
|
|
|
install:
|
|
|
|
|
|
|
|
- sh: >-
|
|
|
|
|
2021-12-15 16:38:20 +00:00
|
|
|
if [[ -e boringssl/CMakeLists.txt ]] ; then
|
|
|
|
|
|
|
|
echo cached
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
git clone https://boringssl.googlesource.com/boringssl
|
|
|
|
|
|
|
|
cd boringssl
|
2021-02-11 22:15:40 +00:00
|
|
|
|
2022-01-11 16:17:44 +00:00
|
|
|
git checkout cf8d3ad3cea51cf7184307d54f465da62b7d8408
|
2021-02-11 22:15:40 +00:00
|
|
|
|
2021-12-15 16:38:20 +00:00
|
|
|
cmake .
|
2021-02-11 22:15:40 +00:00
|
|
|
|
2021-12-15 16:38:20 +00:00
|
|
|
make -j4
|
2021-02-11 22:15:40 +00:00
|
|
|
|
2021-12-15 16:38:20 +00:00
|
|
|
cd ..
|
2021-02-11 22:15:40 +00:00
|
|
|
|
2021-12-15 16:38:20 +00:00
|
|
|
fi
|
2021-02-11 22:15:40 +00:00
|
|
|
|
|
|
|
git submodule init
|
|
|
|
|
2021-12-15 16:38:20 +00:00
|
|
|
git submodule update --checkout --force --recursive
|
2021-02-11 22:15:40 +00:00
|
|
|
|
|
|
|
cmake -DBORINGSSL_DIR=$PWD/boringssl .
|
|
|
|
|
|
|
|
make
|
|
|
|
|
|
|
|
test_script:
|
|
|
|
|
|
|
|
- sh: make test
|