Skip to content

Commit

Permalink
Use build_all.sh for building nim devel
Browse files Browse the repository at this point in the history
  • Loading branch information
kaushalmodi committed May 7, 2021
1 parent b03b56c commit 3760867
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,15 @@ install:
mkdir -p nim
git clone --single-branch --branch devel --depth=1 "${NIMREPO}" "${NIMDIR}"
cd "${NIMDIR}" || exit
[ -d csources ] || git clone --depth 1 https://github.com/nim-lang/csources.git
cd csources
sh build.sh
cd ..
./bin/nim c koch
./koch boot -d:release
# After building nim, wipe csources to save on cache space.
rm -rf csources
# Don't build 'koch tools'; remove that line from build_all.sh.
sed -i '/koch tools/d' build_all.sh
sh build_all.sh # https://github.com/nim-lang/Nim/issues/17907#issuecomment-831654235
fi
- |
if [[ ! -f "${NIMDIR}/bin/nimble" ]]
then
cd "${NIMDIR}" || exit
./koch nimble
./koch nimble --skipUserCfg --skipParentCfg
fi
- export PATH="${NIMDIR}/bin:${PATH}"
- nim -v
Expand Down

0 comments on commit 3760867

Please sign in to comment.