Added Arm64 Travis build
This commit is contained in:
parent
d6c49ef827
commit
4d9216dd95
4 changed files with 35 additions and 12 deletions
|
|
@ -13,6 +13,6 @@ indent_style = space
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
[*.{ttl,ttl.in,yml}]
|
[*.{ttl,ttl.in,sh,yml}]
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
indent_style = space
|
indent_style = space
|
||||||
|
|
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -30,3 +30,4 @@ node_modules/
|
||||||
.sass-cache
|
.sass-cache
|
||||||
*.lock
|
*.lock
|
||||||
*.sublime-*
|
*.sublime-*
|
||||||
|
*.code-*
|
||||||
|
|
|
||||||
26
.travis.yml
26
.travis.yml
|
|
@ -1,8 +1,22 @@
|
||||||
language: cpp
|
language: cpp
|
||||||
|
jobs:
|
||||||
matrix:
|
|
||||||
include:
|
include:
|
||||||
- os: linux
|
- os: linux
|
||||||
|
arch: amd64
|
||||||
|
dist: bionic
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
sources:
|
||||||
|
- sourceline: 'ppa:ubuntu-toolchain-r/test'
|
||||||
|
packages:
|
||||||
|
- gcc-8
|
||||||
|
- g++-8
|
||||||
|
- doxygen
|
||||||
|
env:
|
||||||
|
- MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
|
||||||
|
|
||||||
|
- os: linux
|
||||||
|
arch: arm64
|
||||||
dist: bionic
|
dist: bionic
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
|
@ -38,11 +52,11 @@ after_success:
|
||||||
deploy:
|
deploy:
|
||||||
provider: releases
|
provider: releases
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
api_key:
|
token:
|
||||||
secure: cc6IkdalZRb+lOWzPkubCUvTcP9lBwiNBBPkXWVmeX7YXkdQlsoVQ11bZThd1Go+5Lt+jGFtEqE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p9WtgsoMrCH61gCp2GogQVLvYpgRpVErKK8PMTkt71OouewTDqD5iwc3N/2pNWP3cXxpPegerjl4R2sY0sZ57WRfW8ts7akPyqJZa2uKpzpM0eXy35fZl6WoJSlIv3akCnzdtLtaWAptzfXhgRSlF/33+gZ3jRcSP7ca2YpUviuZ+KYk+uGfMh092CMRMjPv1Et5h7zYGD+o=
|
||||||
file: "$DEPLOYFILE"
|
file: "$DEPLOYFILE"
|
||||||
on:
|
on:
|
||||||
repo: sfztools/sfizz
|
repo: ${TRAVIS_REPO_SLUG}
|
||||||
tags: true
|
tags: true
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
|
|
@ -56,4 +70,4 @@ notifications:
|
||||||
- "%{commit_subject}"
|
- "%{commit_subject}"
|
||||||
- "Commit URL : https://github.com/%{repository_slug}/commit/%{commit}"
|
- "Commit URL : https://github.com/%{repository_slug}/commit/%{commit}"
|
||||||
- "Change View : %{compare_url}"
|
- "Change View : %{compare_url}"
|
||||||
- "Build Details : %{build_url}"
|
- "Build Details : %{build_url}"
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,20 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -e
|
set -ex
|
||||||
|
|
||||||
if [ "$TRAVIS_OS_NAME" = "linux" ]; then
|
cmake_dir="cmake-3.13.0-${TRAVIS_OS_NAME}-${TRAVIS_CPU_ARCH}"
|
||||||
wget https://cmake.org/files/v3.13/cmake-3.13.0-Linux-x86_64.sh
|
cmake_arc="${cmake_dir}.tar.gz"
|
||||||
sudo sh cmake-3.13.0-Linux-x86_64.sh --skip-license --prefix=/usr/local
|
cmake_url="https://github.com/${TRAVIS_REPO_SLUG}/releases/download/${TRAVIS_OS_NAME}/${cmake_arc}"
|
||||||
|
|
||||||
|
if [ ${TRAVIS_OS_NAME} = "linux" ]; then
|
||||||
|
wget -q ${cmake_url}
|
||||||
|
tar xzf ${cmake_arc}
|
||||||
|
cd ${TRAVIS_BUILD_DIR}/${cmake_dir}
|
||||||
|
sudo cp bin/* /usr/local/bin/
|
||||||
|
sudo cp -r doc /usr/local/share/
|
||||||
|
sudo cp -r share/* /usr/local/share/
|
||||||
export PATH="/usr/local/bin:$PATH" # FIXME
|
export PATH="/usr/local/bin:$PATH" # FIXME
|
||||||
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
elif [ ${TRAVIS_OS_NAME} = "osx" ]; then
|
||||||
sudo ln -s /usr/local /opt/local
|
sudo ln -s /usr/local /opt/local
|
||||||
brew update
|
brew update
|
||||||
brew upgrade cmake
|
brew upgrade cmake
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue