@@ -9,26 +9,26 @@ workflows:
9
9
jobs :
10
10
build-i686 :
11
11
docker :
12
- # - image: ubuntu:14.04
13
12
- image : circleci/python:2.7
14
13
environment :
15
14
JULIA_CPU_CORES : 6
16
15
JULIA_TEST_MAXRSS_MB : 800
17
16
ARCH : i686
18
- # resource_class: xlarge
19
17
steps : &steps
20
- # apt-get update &&
21
- # curl make patch m4 xz-utils git time ccache bar
22
18
- run : | # install build dependencies
23
19
sudo apt-get install -y g++-4.8-multilib gfortran-4.8-multilib \
24
20
time ccache bar &&
25
21
for prog in gcc g++ gfortran; do
26
22
sudo ln -s /usr/bin/$prog-4.8 /usr/local/bin/$prog;
27
23
done
28
- - checkout # circle ci code checkout step - TODO checkout PR merge commit
24
+ - checkout # circle ci code checkout step
29
25
# (FIXME: need to unset url."ssh://[email protected] ".insteadOf or libgit2 tests fail)
30
- - run : | # set versioning info and Make.user variables
26
+ - run : | # checkout merge commit, set versioning info and Make.user variables
31
27
git config --global --unset url."ssh://[email protected] ".insteadOf &&
28
+ if [ -n "$CIRCLE_PULL_REQUEST" ]; then
29
+ git fetch origin +refs/pull/$(basename $CIRCLE_PULL_REQUEST)/merge &&
30
+ git checkout -qf FETCH_HEAD;
31
+ fi &&
32
32
make -C base version_git.jl.phony &&
33
33
echo "override ARCH = $ARCH" | tee -a Make.user &&
34
34
for var in FORCE_ASSERTIONS LLVM_ASSERTIONS USECCACHE NO_GIT; do
38
38
- restore_cache : # silly to take a checksum of the tag file here instead of
39
39
keys : # its contents but this is the only thing that works on circle
40
40
- ccache-{{ checksum "/tmp/weeknumber" }}
41
- - run : | # build deps
41
+ - run : | # compile julia deps
42
42
contrib/download_cmake.sh &&
43
43
make -j8 -C deps || make
44
44
- run : | # build julia, output ccache stats when done
0 commit comments