forked from electron/electron
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add testing for arm, arm64 and ia32 linux builds
- Loading branch information
John Kleinschmidt
committed
Dec 20, 2017
1 parent
a6228b9
commit 06481b5
Showing
6 changed files
with
206 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
* | ||
!tools/xvfb-init.sh | ||
!tools/run-electron.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
FROM multiarch/debian-debootstrap:arm64-jessie | ||
|
||
RUN apt-get update && apt-get install -y\ | ||
bison \ | ||
build-essential \ | ||
clang \ | ||
curl \ | ||
gperf \ | ||
libasound2 \ | ||
libasound2-dev \ | ||
libcap-dev \ | ||
libcups2-dev \ | ||
libdbus-1-dev \ | ||
libgconf-2-4 \ | ||
libgconf2-dev \ | ||
libgnome-keyring-dev \ | ||
libgtk-3-0 \ | ||
libgtk2.0-0 \ | ||
libgtk2.0-dev \ | ||
libnotify-dev \ | ||
libnss3 \ | ||
libnss3-dev \ | ||
libx11-xcb-dev \ | ||
libxss1 \ | ||
libxtst-dev \ | ||
libxtst6 \ | ||
python-dbusmock \ | ||
wget \ | ||
xvfb | ||
|
||
ADD tools/xvfb-init.sh /etc/init.d/xvfb | ||
RUN chmod a+x /etc/init.d/xvfb | ||
ADD tools/run-electron.sh /run-electron.sh | ||
RUN chmod a+x /run-electron.sh | ||
CMD sh /run-electron.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
FROM multiarch/debian-debootstrap:armhf-jessie | ||
|
||
RUN apt-get update && apt-get install -y\ | ||
bison \ | ||
build-essential \ | ||
clang \ | ||
curl \ | ||
gperf \ | ||
libasound2 \ | ||
libasound2-dev \ | ||
libcap-dev \ | ||
libcups2-dev \ | ||
libdbus-1-dev \ | ||
libgconf-2-4 \ | ||
libgconf2-dev \ | ||
libgnome-keyring-dev \ | ||
libgtk-3-0 \ | ||
libgtk2.0-0 \ | ||
libgtk2.0-dev \ | ||
libnotify-dev \ | ||
libnss3 \ | ||
libnss3-dev \ | ||
libx11-xcb-dev \ | ||
libxss1 \ | ||
libxtst-dev \ | ||
libxtst6 \ | ||
python-dbusmock \ | ||
git \ | ||
wget \ | ||
xvfb | ||
|
||
# Install node.js | ||
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - | ||
RUN apt-get update && apt-get install -y nodejs | ||
|
||
ADD tools/xvfb-init.sh /etc/init.d/xvfb | ||
RUN chmod a+x /etc/init.d/xvfb | ||
ADD tools/run-electron.sh /run-electron.sh | ||
RUN chmod a+x /run-electron.sh | ||
|
||
CMD sh /run-electron.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env python | ||
|
||
import sys | ||
|
||
from lib.util import get_electron_version | ||
|
||
def main(): | ||
print get_electron_version() | ||
|
||
if __name__ == '__main__': | ||
sys.exit(main()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export DISPLAY=":99.0" | ||
sh -e /etc/init.d/xvfb start | ||
cd /tmp/workspace/project/ | ||
out/D/electron --version |