started work on macos travis builds

This commit is contained in:
Stephen Gaito 2020-06-02 13:28:36 +00:00
parent 3e835a38e2
commit 2904663ad2
2 changed files with 38 additions and 78 deletions

View File

@ -20,23 +20,23 @@ branches:
jobs:
fast_finish: true
include:
- stage: build-linux
os: linux
env:
global: DOCKER_FROM="ubuntu:18.04"
services:
- docker
dist: bionic
script: ./buildScripts/travisLinuxAptDoItAll
# - stage: build-osx
# os:
# - osx
# osx_image: xcode10.1
# addons:
# homebrew:
# update: true
# script:
# - ./buildScripts/travisHomeBrewDoItAll
# - stage: build-linux
# os: linux
# env:
# global: DOCKER_FROM="ubuntu:18.04"
# services:
# - docker
# dist: bionic
# script: ./buildScripts/travisLinuxAptDoItAll
- stage: build-osx
os:
- osx
osx_image: xcode10.1
addons:
homebrew:
update: true
script:
- ./buildScripts/travisHomeBrewDoItAll
# - pdf2htmlEX --version
# - stage: test
# os:

View File

@ -6,64 +6,24 @@
# https://docs.travis-ci.com/user/installing-dependencies/#using-homebrew-without-addon-on-older-macos-images
# For details on obtaining/using the correct ruby version for homebrew.
echo "-------------------------------------------------"
echo $PATH
echo $LDFLAGS
echo $CPPFLAGS
which clang
echo "-------------------------------------------------"
brew tap pdf2htmlEX/homebrew-brewTap
echo "-------------------------------------------------"
echo $PATH
echo $LDFLAGS
echo $CPPFLAGS
which clang
echo "-------------------------------------------------"
brew update
echo "-------------------------------------------------"
echo $PATH
echo $LDFLAGS
echo $CPPFLAGS
which clang
echo "-------------------------------------------------"
#brew install llvm
#brew install -v python@2
#brew install jq
echo "-------------------------------------------------"
echo $PATH
echo $LDFLAGS
echo $CPPFLAGS
which clang
#export llvmVersion=$(brew info --json=v1 llvm | jq '.[].installed[].version' | tr -d '"')
echo $llvmVersion
#export python2Version=$(brew info --json=v1 python@2 | jq '.[].installed[].version' | tr -d '"')
echo $python2Version
echo "-------------------------------------------------"
#brew info llvm
#brew switch llvm $llvmVersion
#brew info python@2
#brew switch python@2 $python2Version
echo "-------------------------------------------------"
echo $PATH
echo $LDFLAGS
echo $CPPFLAGS
which clang
ls -la $(which clang)
which python
ls -la $(which python)
python --version
echo "-------------------------------------------------"
brew install -v pdf2htmlex-new
echo "-------------------------------------------------"
echo $PATH
echo $LDFLAGS
echo $CPPFLAGS
which clang
ls -la $(which clang)
which python
ls -la $(which python)
python --version
which pdf2htmlEX
ls -la $(which pdf2htmlEX)
pdf2htmlEX --version
echo "-------------------------------------------------"
set -ev
export UNATTENDED="--assume-yes"
export MAKE_PARALLEL="-j $(nproc)"
export PDF2HTMLEX_BRANCH="$(git rev-parse --abbrev-ref HEAD)"
./buildScripts/versionEnvs
./buildScripts/reportEnvs
./buildScripts/getBuildToolsBrew
./buildScripts/getDevLibrariesBrew
./buildScripts/getPoppler
./buildScripts/buildPoppler
./buildScripts/getFontforge
./buildScripts/buildFontforge
./buildScripts/buildPdf2htmlEX
./buildScripts/installPdf2htmlEX
#./buildScripts/createAppImage
#./buildScripts/createDockerImage
#./buildScripts/uploadGitHubRelease
#./buildScripts/uploadDockerImage