1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +00:00

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: jobs:
fast_finish: true fast_finish: true
include: include:
- stage: build-linux # - stage: build-linux
os: linux # os: linux
env: # env:
global: DOCKER_FROM="ubuntu:18.04" # global: DOCKER_FROM="ubuntu:18.04"
services: # services:
- docker # - docker
dist: bionic # dist: bionic
script: ./buildScripts/travisLinuxAptDoItAll # script: ./buildScripts/travisLinuxAptDoItAll
# - stage: build-osx - stage: build-osx
# os: os:
# - osx - osx
# osx_image: xcode10.1 osx_image: xcode10.1
# addons: addons:
# homebrew: homebrew:
# update: true update: true
# script: script:
# - ./buildScripts/travisHomeBrewDoItAll - ./buildScripts/travisHomeBrewDoItAll
# - pdf2htmlEX --version # - pdf2htmlEX --version
# - stage: test # - stage: test
# os: # os:

View File

@ -6,64 +6,24 @@
# https://docs.travis-ci.com/user/installing-dependencies/#using-homebrew-without-addon-on-older-macos-images # 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. # For details on obtaining/using the correct ruby version for homebrew.
echo "-------------------------------------------------" set -ev
echo $PATH
echo $LDFLAGS export UNATTENDED="--assume-yes"
echo $CPPFLAGS export MAKE_PARALLEL="-j $(nproc)"
which clang
echo "-------------------------------------------------" export PDF2HTMLEX_BRANCH="$(git rev-parse --abbrev-ref HEAD)"
brew tap pdf2htmlEX/homebrew-brewTap
echo "-------------------------------------------------" ./buildScripts/versionEnvs
echo $PATH ./buildScripts/reportEnvs
echo $LDFLAGS ./buildScripts/getBuildToolsBrew
echo $CPPFLAGS ./buildScripts/getDevLibrariesBrew
which clang ./buildScripts/getPoppler
echo "-------------------------------------------------" ./buildScripts/buildPoppler
brew update ./buildScripts/getFontforge
echo "-------------------------------------------------" ./buildScripts/buildFontforge
echo $PATH ./buildScripts/buildPdf2htmlEX
echo $LDFLAGS ./buildScripts/installPdf2htmlEX
echo $CPPFLAGS #./buildScripts/createAppImage
which clang #./buildScripts/createDockerImage
echo "-------------------------------------------------" #./buildScripts/uploadGitHubRelease
#brew install llvm #./buildScripts/uploadDockerImage
#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 "-------------------------------------------------"