Do not use environment for macos

This commit is contained in:
John Maguire 2019-10-03 00:24:32 +01:00
parent adcc89c7cd
commit d28b226bfc
1 changed files with 4 additions and 5 deletions

View File

@ -258,15 +258,14 @@ jobs:
build_mac:
macos:
xcode: "11.0.0"
environment:
Qt5_DIR: /usr/local/opt/qt5/lib/cmake
Qt5LinguistTools_DIR: /usr/local/Cellar/qt/5.11.2/lib/cmake/Qt5LinguistTools
GST_SCANNER_PATH: /usr/local/Cellar/gstreamer/1.14.4/libexec/gstreamer-1.0/gst-plugin-scanner
GST_PLUGIN_PATH: /usr/local/lib/gstreamer-1.0
steps:
- run:
name: Setup PATH
command: |
echo 'export Qt5_DIR=/usr/local/opt/qt5/lib/cmake' >> $BASH_ENV
echo 'export Qt5LinguistTools_DIR=/usr/local/Cellar/qt/5.11.2/lib/cmake/Qt5LinguistTools' >> $BASH_ENV
echo 'export GST_SCANNER_PATH=/usr/local/Cellar/gstreamer/1.14.4/libexec/gstreamer-1.0/gst-plugin-scanner' >> $BASH_ENV
echo 'export GST_PLUGIN_PATH=/usr/local/lib/gstreamer-1.0' >> $BASH_ENV
echo 'export PATH=/usr/local/opt/gettext/bin:$PATH' >> $BASH_ENV
source $BASH_ENV
- run: