mirror of
https://github.com/dlang/dmd.git
synced 2025-04-29 22:50:27 +03:00
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:
parent
801da4585e
commit
ac2140f722
2 changed files with 5 additions and 33 deletions
|
@ -1,10 +1,10 @@
|
||||||
version: 2
|
version: 2
|
||||||
jobs:
|
jobs:
|
||||||
no_pic:
|
build:
|
||||||
working_directory: ~/dmd
|
working_directory: ~/dmd
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/node:4.8.2
|
- image: circleci/buildpack-deps:18.04
|
||||||
parallelism: 2
|
parallelism: 1
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
|
@ -17,27 +17,8 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
command: ./.circleci/run.sh all
|
command: ./.circleci/run.sh all
|
||||||
name: Run 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:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
all:
|
all:
|
||||||
jobs:
|
jobs:
|
||||||
- pic
|
- build
|
||||||
- no_pic
|
|
||||||
|
|
|
@ -13,19 +13,10 @@ DMD=dmd
|
||||||
PIC=1
|
PIC=1
|
||||||
|
|
||||||
case "${CIRCLE_STAGE}" in
|
case "${CIRCLE_STAGE}" in
|
||||||
# Defined by old, existing PRs
|
|
||||||
# Added to avoid needing to rebase them
|
|
||||||
build)
|
build)
|
||||||
;&
|
|
||||||
pic)
|
|
||||||
MODEL=64
|
|
||||||
PIC=1
|
|
||||||
;;
|
|
||||||
no_pic)
|
|
||||||
PIC=0
|
|
||||||
case $CIRCLE_NODE_INDEX in
|
case $CIRCLE_NODE_INDEX in
|
||||||
0) MODEL=64 ;;
|
0) MODEL=64 ;;
|
||||||
1) MODEL=32 ;;
|
1) MODEL=32 ;; # broken - https://issues.dlang.org/show_bug.cgi?id=19116
|
||||||
esac
|
esac
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue