mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
35 lines
786 B
YAML
35 lines
786 B
YAML
sudo: false
|
|
language: c
|
|
os:
|
|
- linux
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- libcurl4-openssl-dev
|
|
- libsdl1.2-dev
|
|
- libgc-dev
|
|
before_script:
|
|
- set -e
|
|
- wget http://flatassembler.net/fasm-1.71.39.tgz
|
|
- tar xvf fasm-1.71.39.tgz
|
|
- git clone --depth 1 https://github.com/nim-lang/csources.git
|
|
- cd csources
|
|
- sh build.sh
|
|
- cd ..
|
|
- sed -i -e 's,cc = gcc,cc = clang,' config/nim.cfg
|
|
- export PATH=$(pwd)/bin:$(pwd)/fasm:$PATH
|
|
script:
|
|
- nim c koch
|
|
- ./koch boot
|
|
- ./koch boot -d:release
|
|
- nim e install_nimble.nims
|
|
- nimble update
|
|
- nimble install zip
|
|
- nimble install opengl
|
|
- nimble install sdl1
|
|
- nimble install jester
|
|
- nimble install niminst
|
|
- nim c --taintMode:on tests/testament/tester
|
|
- tests/testament/tester --pedantic all
|
|
- ./koch xz
|