This commit is contained in:
John Kleinschmidt 2017-09-13 09:48:19 -04:00 коммит произвёл GitHub
Родитель 2048a1a638
Коммит 64c8ff62af
2 изменённых файлов: 70 добавлений и 0 удалений

53
.circleci/config.yml Normal file
Просмотреть файл

@ -0,0 +1,53 @@
version: 2
jobs:
electron-linux-arm:
docker:
- image: electronbuilds/electron:0.0.3
environment:
TARGET_ARCH: arm
steps:
- checkout
- run: script/cibuild
electron-linux-arm64:
docker:
- image: electronbuilds/electron:0.0.3
environment:
TARGET_ARCH: arm64
steps:
- checkout
- run: script/cibuild
electron-linux-ia32:
docker:
- image: electronbuilds/electron:0.0.3
environment:
TARGET_ARCH: ia32
steps:
- checkout
- run: script/cibuild
electron-linux-x64:
docker:
- image: electronbuilds/electron:0.0.3
environment:
TARGET_ARCH: x64
steps:
- checkout
- run: script/cibuild
workflows:
version: 2
build-arm:
jobs:
- electron-linux-arm
build-arm64:
jobs:
- electron-linux-arm64
build-ia32:
jobs:
- electron-linux-ia32
build-x64:
jobs:
- electron-linux-x64

17
Dockerfile.circleci Normal file
Просмотреть файл

@ -0,0 +1,17 @@
FROM electronbuilds/libchromiumcontent:0.0.4
USER root
# Install node.js
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash -
RUN apt-get update && apt-get install -y --force-yes nodejs
# Install wget used by crash reporter
RUN apt-get install -y --force-yes wget
# Add xvfb init script
ADD tools/xvfb-init.sh /etc/init.d/xvfb
RUN chmod a+x /etc/init.d/xvfb
USER builduser
WORKDIR /home/builduser