Merge pull request #9499 from wilzbach/fix-circleci

[CircleCi] Fix build by using Ubuntu 18.04 as base
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
This commit is contained in:
The Dlang Bot 2019-03-27 13:21:52 +01:00 committed by Sebastian Wilzbach
parent 801da4585e
commit ac2140f722
2 changed files with 5 additions and 33 deletions

View file

@ -1,10 +1,10 @@
version: 2
jobs:
no_pic:
build:
working_directory: ~/dmd
docker:
- image: circleci/node:4.8.2
parallelism: 2
- image: circleci/buildpack-deps:18.04
parallelism: 1
steps:
- checkout
- run:
@ -17,27 +17,8 @@ jobs:
- run:
command: ./.circleci/run.sh all
name: Run all
pic:
working_directory: ~/dmd
docker:
# See: https://github.com/wilzbach/dlang-docker/blob/master/circleci/dlang.docker
- image: dlang2/dmd-circleci:2.078.0
steps:
- checkout
- run:
# this is needed to "fix" the Docker permission errors - see https://github.com/dlang/dmd/pull/7579
command: sudo ls -l /dlang/dmd-2.078.0/linux && sudo ls -l /dlang/dmd-2.078.0/src
name: Test Docker image
- run:
# needs to be a separate step, s.t. `run.sh` gets updated too
command: ./.circleci/run.sh setup-repos
name: Merge with upstream + clone DRuntime & Phobos
- run:
command: ./.circleci/run.sh all
name: Run all
workflows:
version: 2
all:
jobs:
- pic
- no_pic
- build

View file

@ -13,19 +13,10 @@ DMD=dmd
PIC=1
case "${CIRCLE_STAGE}" in
# Defined by old, existing PRs
# Added to avoid needing to rebase them
build)
;&
pic)
MODEL=64
PIC=1
;;
no_pic)
PIC=0
case $CIRCLE_NODE_INDEX in
0) MODEL=64 ;;
1) MODEL=32 ;;
1) MODEL=32 ;; # broken - https://issues.dlang.org/show_bug.cgi?id=19116
esac
esac