pull/573/head
Lex Neva 2019-12-19 22:35:58 -05:00
rodzic 2eb072987e
commit 46da97fba5
2 zmienionych plików z 13 dodań i 21 usunięć

Wyświetl plik

@ -41,7 +41,6 @@ jobs:
- shell: bash
run: |
make dist
find .
env:
BUILD: windows
- uses: actions/upload-artifact@master
@ -60,10 +59,20 @@ jobs:
- name: download inkscape
shell: bash
run: |
curl -sOL https://inkscape.org/en/gallery/item/12187/inkscape-0.92.3.tar.bz2
curl -sOL https://inkscape.org/en/gallery/item/12187/inkscape-0.92.3.tar.bz2
- name: install dependencies
shell: bash
run: |
brew update
# the 3 in pygobject3 signifies gtk3, not python3
brew install pygobject3 gtk+3
# for msgfmt
brew link gettext --force
echo "::set-env name=GI_TYPELIB_PATH::/usr/local/lib/girepository-1.0/"
pip install -r requirements.txt
pip install pyinstaller==3.3.1
@ -75,7 +84,6 @@ jobs:
- shell: bash
run: |
make dist
find .
env:
BUILD: osx
- uses: actions/upload-artifact@master

Wyświetl plik

@ -2,18 +2,9 @@
# TRAVIS_BRANCH is the branch name or the name of the tag.
VERSION="$(echo ${TRAVIS_BRANCH:-${GITHUB_REF}} | tr / -)"
OS="${TRAVIS_OS_NAME:-$(uname)}"
OS="${TRAVIS_OS_NAME:-${BUILD:-$(uname)}}"
ARCH="$(uname -m)"
MACVERSION="${TRAVIS_OSX_IMAGE}"
if [ "${MACVERSION}" = "xcode9.2" ]; then
MACVERSION="sierra"
elif [ "${MACVERSION}" = "xcode9.4" ]; then
MACVERSION="high_sierra"
elif [ "${MACVERSION}" = "xcode10.2" ]; then
MACVERSION="mojave"
fi
cp -a images/examples palettes symbols fonts dist/inkstitch
cp -a icons locales print dist/inkstitch/bin
@ -31,13 +22,6 @@ for d in inx/*; do
cp $d/*.inx dist
cd dist
if [ "$BUILD" = "windows" ]; then
echo
python -m zipfile -c ../artifacts/inkstitch-${VERSION}-win32-${lang}.zip *
elif [ "$BUILD" = "osx" ]; then
tar zcf ../artifacts/inkstitch-${VERSION}-${OS}-${MACVERSION}-${ARCH}-$lang.tar.gz *
else
tar zcf ../artifacts/inkstitch-${VERSION}-${OS}-${ARCH}-$lang.tar.gz *
fi
python -m zipfile -c ../artifacts/inkstitch-${VERSION}-${OS}-${lang}.zip *
cd ..
done