summary refs log tree commit diff stats
path: root/ci/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/build.sh')
-rw-r--r--ci/build.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/ci/build.sh b/ci/build.sh
new file mode 100644
index 000000000..a0fee1497
--- /dev/null
+++ b/ci/build.sh
@@ -0,0 +1,15 @@
+sh ci/deps.sh
+
+# Build from C sources.
+git clone --depth 1 https://github.com/nim-lang/csources.git
+cd csources
+sh build.sh
+cd ..
+# Add Nim to the PATH
+export PATH=$(pwd)/bin:$PATH
+# Bootstrap.
+nim -v
+nim c koch
+./koch boot
+cp bin/nim bin/nimd
+./koch boot -d:release