Skip to content

Commit

Permalink
Add linux builds for 64 and 32 bits
Browse files Browse the repository at this point in the history
  • Loading branch information
bcardiff committed Jan 29, 2018
1 parent 6b655af commit d08d7c9
Showing 1 changed file with 39 additions and 9 deletions.
48 changes: 39 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,47 @@
defaults:
environment: &env
TRAVIS_BRANCH: $CIRCLE_BRANCH
TRAVIS_PULL_REQUEST: $CI_PULL_REQUEST || "false"
steps: &ci_steps
- checkout
- run: bin/ci prepare_system
- run: bin/ci prepare_build
- run: bin/ci build

version: 2

jobs:
build:
build_linux:
machine: true
environment:
<<: *env
TRAVIS_OS_NAME: linux
ARCH: x86_64
ARCH_CMD: linux64
steps: *ci_steps

build_linux32:
machine: true
environment:
<<: *env
TRAVIS_OS_NAME: linux
ARCH: i386
ARCH_CMD: linux32
ARCH_LIBRARY_PATH: /opt/crystal/embedded/lib/
steps: *ci_steps

build_osx:
macos:
xcode: "9.0"

environment:
TRAVIS_BRANCH: $CIRCLE_BRANCH
<<: *env
TRAVIS_OS_NAME: osx
TRAVIS_PULL_REQUEST: $CI_PULL_REQUEST || "false"
steps: *ci_steps

steps:
- checkout
- run: bin/ci prepare_system
- run: bin/ci prepare_build
- run: bin/ci build
workflows:
version: 2
build_all_platforms:
jobs:
- build_linux
- build_linux32
- build_osx

0 comments on commit d08d7c9

Please sign in to comment.