Skip to content

ARM building support #1074

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 15 commits into from
30 changes: 27 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,30 @@ before_install:
# Don't build on tags because we'll already have built the commit.
jobs:
include:
- name: "Linux build"
- name: "Linux build - x86"
os: linux
arch: amd64
dist: trusty
env: TARGET="linux"
if: tag IS blank
script: scripts/ci.bash
- name: "Alpine build"
- name: "Alpine build - x86"
os: linux
arch: amd64
dist: trusty
env: TARGET="alpine"
if: tag IS blank
script: scripts/ci.bash
- name: "Linux build - ARM"
os: linux
arch: arm64
dist: trusty
env: TARGET="linux"
if: tag IS blank
script: scripts/ci.bash
- name: "Alpine build - ARM"
os: linux
arch: arm64
dist: trusty
env: TARGET="alpine"
if: tag IS blank
Expand All @@ -31,9 +47,17 @@ jobs:
os: osx
if: tag IS blank
script: travis_wait 30 scripts/ci.bash
- name: "Docker build"
- name: "Docker build - x86"
os: linux
dist: trusty
arch: amd64
env: DOCKER_BUILD="true"
if: branch == master AND tag IS blank
script: docker build --build-arg githubToken="$GITHUB_TOKEN" --build-arg codeServerVersion="$VERSION" --build-arg vscodeVersion="$VSCODE_VERSION" -t codercom/code-server:"$TAG" -t codercom/code-server:v2 .
- name: "Docker build - ARM"
os: linux
dist: trusty
arch: arm64
env: DOCKER_BUILD="true"
if: branch == master AND tag IS blank
script: docker build --build-arg githubToken="$GITHUB_TOKEN" --build-arg codeServerVersion="$VERSION" --build-arg vscodeVersion="$VSCODE_VERSION" -t codercom/code-server:"$TAG" -t codercom/code-server:v2 .
Expand Down