Skip to content

Commit

Permalink
Update to latest distribution-scripts (#6165)
Browse files Browse the repository at this point in the history
* Compile 32 bits packages in ci
* Update to use all64 make target
* Update distribution scripts to use shards 0.8.0
  • Loading branch information
bcardiff authored Jun 7, 2018
1 parent 068edc4 commit 97e7043
Showing 1 changed file with 33 additions and 3 deletions.
36 changes: 33 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
- run: |
git clone https://github.com/crystal-lang/distribution-scripts.git ~/distribution-scripts
cd ~/distribution-scripts
git checkout a026d041d98bd3ceb84b8d70a37e662e6e6aa765
git checkout ad632438cd4458993e5c525be5063aa537b27585
# persist relevant information for build process
- run: |
cd ~/distribution-scripts
Expand All @@ -79,7 +79,8 @@ jobs:
# Which previous version use
export PREVIOUS_CRYSTAL_BASE_URL="https://github.com/crystal-lang/crystal/releases/download/0.24.2/crystal-0.24.2-1"
echo "export PREVIOUS_CRYSTAL_RELEASE_LINUX_TARGZ=${PREVIOUS_CRYSTAL_BASE_URL}-linux-x86_64.tar.gz" >> build.env
echo "export PREVIOUS_CRYSTAL_RELEASE_LINUX64_TARGZ=${PREVIOUS_CRYSTAL_BASE_URL}-linux-x86_64.tar.gz" >> build.env
echo "export PREVIOUS_CRYSTAL_RELEASE_LINUX32_TARGZ=${PREVIOUS_CRYSTAL_BASE_URL}-linux-i686.tar.gz" >> build.env
echo "export PREVIOUS_CRYSTAL_RELEASE_DARWIN_TARGZ=${PREVIOUS_CRYSTAL_BASE_URL}-darwin-x86_64.tar.gz" >> build.env
cat build.env
Expand Down Expand Up @@ -166,7 +167,22 @@ jobs:
cd /tmp/workspace/distribution-scripts
source build.env
cd linux
make release=true
make all64 release=true
- persist_to_workspace:
root: /tmp/workspace/distribution-scripts/linux/
paths:
- build

dist_linux32:
machine: true
steps:
- attach_workspace:
at: /tmp/workspace
- run: |
cd /tmp/workspace/distribution-scripts
source build.env
cd linux
make all32 release=true
- persist_to_workspace:
root: /tmp/workspace/distribution-scripts/linux/
paths:
Expand Down Expand Up @@ -298,6 +314,10 @@ workflows:
filters: *per_tag
requires:
- prepare_tagged
- dist_linux32:
filters: *per_tag
requires:
- prepare_tagged
- dist_darwin:
filters: *per_tag
requires:
Expand All @@ -316,6 +336,7 @@ workflows:
filters: *per_tag
requires:
- dist_linux
- dist_linux32
- dist_darwin
- dist_docker
- dist_docs
Expand Down Expand Up @@ -343,6 +364,9 @@ workflows:
- dist_linux:
requires:
- prepare_nightly
- dist_linux32:
requires:
- prepare_nightly
- dist_darwin:
requires:
- prepare_nightly
Expand All @@ -358,6 +382,7 @@ workflows:
- dist_artifacts:
requires:
- dist_linux
- dist_linux32
- dist_darwin
- dist_docker
- dist_docs
Expand Down Expand Up @@ -388,6 +413,10 @@ workflows:
filters: *maintenance
requires:
- prepare_maintenance
- dist_linux32:
filters: *maintenance
requires:
- prepare_maintenance
- dist_darwin:
filters: *maintenance
requires:
Expand All @@ -408,6 +437,7 @@ workflows:
filters: *maintenance
requires:
- dist_linux
- dist_linux32
- dist_darwin
- dist_docker
- dist_docs
Expand Down

0 comments on commit 97e7043

Please sign in to comment.