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:
+20
-1
@@ -11,6 +11,14 @@ matrix:
|
|||||||
- os: linux
|
- os: linux
|
||||||
services: docker
|
services: docker
|
||||||
language: generic
|
language: generic
|
||||||
|
env:
|
||||||
|
- TARGET_PLATFORM=win
|
||||||
|
|
||||||
|
- os: linux
|
||||||
|
services: docker
|
||||||
|
language: generic
|
||||||
|
env:
|
||||||
|
- TARGET_PLATFORM=linux
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
@@ -27,11 +35,21 @@ script:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
|
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
|
||||||
|
if [ "$TARGET_PLATFORM" == "linux" ]; then
|
||||||
mkdir -p plugins-linux;
|
mkdir -p plugins-linux;
|
||||||
pushd plugins-linux;
|
pushd plugins-linux;
|
||||||
wget "https://s3.amazonaws.com/webrecorder-builds/flashplugin/libpepflashplayer.so";
|
wget "https://s3.amazonaws.com/webrecorder-builds/flashplugin/libpepflashplayer.so";
|
||||||
popd;
|
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;
|
mkdir -p plugins-win;
|
||||||
pushd plugins-win;
|
pushd plugins-win;
|
||||||
wget "https://s3.amazonaws.com/webrecorder-builds/flashplugin/pepflashplayer-x86_64.dll";
|
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:/root/.cache/electron \
|
||||||
-v ~/.cache/electron-builder:/root/.cache/electron-builder \
|
-v ~/.cache/electron-builder:/root/.cache/electron-builder \
|
||||||
electronuserland/builder:wine \
|
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
|
else
|
||||||
mkdir -p plugins-mac;
|
mkdir -p plugins-mac;
|
||||||
pushd plugins-mac;
|
pushd plugins-mac;
|
||||||
|
|||||||
+1
-1
@@ -5,7 +5,7 @@
|
|||||||
"description": "Serverless Web Archive Replay",
|
"description": "Serverless Web Archive Replay",
|
||||||
"repository": "https://github.com/webrecorder/replayweb.page",
|
"repository": "https://github.com/webrecorder/replayweb.page",
|
||||||
"homepage": "https://replayweb.page/",
|
"homepage": "https://replayweb.page/",
|
||||||
"author": "Ilya Kreymer <ikreymer@gmail.com>",
|
"author": "Webrecorder Software",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fortawesome/fontawesome-free": "^5.13.0",
|
"@fortawesome/fontawesome-free": "^5.13.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user