From e3eaa7c7fb844cbb12b374600f1d1cf1eee071bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= Date: Wed, 16 Oct 2019 15:34:17 +0200 Subject: [PATCH 1/2] Travis: ARM64 build --- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index cc3816a22..e5b5a530b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,9 +15,16 @@ git: matrix: include: - os: linux + arch: amd64 sudo: required before_install: - export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib" + - os: linux + arch: arm64 + sudo: required + before_install: + - export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib" + - sudo apt-get install -y libpcre3-dev - os: osx before_install: - launchctl setenv LIBRARY_PATH /usr/local/lib # for RocksDB From 236913e2c08f9bc2095232944cf44e5e83550c24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C8=98tefan=20Talpalaru?= Date: Wed, 16 Oct 2019 23:18:31 +0200 Subject: [PATCH 2/2] AppVeyor: only save cache on master --- .appveyor.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index 72c4e7602..e91ddc8dc 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -8,7 +8,7 @@ environment: GIT_LFS_SKIP_SMUDGE: 1 cache: - - NimBinaries + - NimBinaries -> .appveyor.yml matrix: # We always want 32-bit and 64-bit compilation @@ -21,6 +21,10 @@ platform: # when multiple CI builds are queued, the tested commit needs to be in the last X commits cloned with "--depth X" clone_depth: 10 +init: + # disable cache saving outside the master branch + - ps: IF ("$env:APPVEYOR_REPO_BRANCH" -ne "master") { $env:APPVEYOR_CACHE_SKIP_SAVE = "true" } + install: - git submodule update --init --recursive # use the newest versions documented here: https://www.appveyor.com/docs/windows-images-software/#mingw-msys-cygwin