ci: try splitting windows and linux builds into seperate passes to only build appimage for 64-bit, to address #20

This commit is contained in:
Ilya Kreymer
2020-09-17 09:13:41 -07:00
parent 9e23433dae
commit 3f8bdf1ad1
2 changed files with 39 additions and 20 deletions
+20 -1
View File
@@ -11,6 +11,14 @@ matrix:
- os: linux
services: docker
language: generic
env:
- TARGET_PLATFORM=win
- os: linux
services: docker
language: generic
env:
- TARGET_PLATFORM=linux
cache:
directories:
@@ -27,11 +35,21 @@ script:
fi
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
if [ "$TARGET_PLATFORM" == "linux" ]; then
mkdir -p plugins-linux;
pushd plugins-linux;
wget "https://s3.amazonaws.com/webrecorder-builds/flashplugin/libpepflashplayer.so";
popd;
docker run --rm \
-e GH_TOKEN=${GH_TOKEN} \
-e YARN_BUILD_CMD=${YARN_BUILD_CMD} \
-v ${PWD}:/project \
-v ~/.cache/electron:/root/.cache/electron \
-v ~/.cache/electron-builder:/root/.cache/electron-builder \
electronuserland/builder:wine \
/bin/bash -c "yarn --link-duplicates --pure-lockfile && yarn run $YARN_BUILD_CMD --linux --x64"
else
mkdir -p plugins-win;
pushd plugins-win;
wget "https://s3.amazonaws.com/webrecorder-builds/flashplugin/pepflashplayer-x86_64.dll";
@@ -47,7 +65,8 @@ script:
-v ~/.cache/electron:/root/.cache/electron \
-v ~/.cache/electron-builder:/root/.cache/electron-builder \
electronuserland/builder:wine \
/bin/bash -c "yarn --link-duplicates --pure-lockfile && yarn run $YARN_BUILD_CMD --linux --win --x64 --ia32"
/bin/bash -c "yarn --link-duplicates --pure-lockfile && yarn run $YARN_BUILD_CMD --win --x64 --ia32"
fi
else
mkdir -p plugins-mac;
pushd plugins-mac;
+1 -1
View File
@@ -5,7 +5,7 @@
"description": "Serverless Web Archive Replay",
"repository": "https://github.com/webrecorder/replayweb.page",
"homepage": "https://replayweb.page/",
"author": "Ilya Kreymer <ikreymer@gmail.com>",
"author": "Webrecorder Software",
"license": "AGPL-3.0-or-later",
"dependencies": {
"@fortawesome/fontawesome-free": "^5.13.0",