Skip to content
Snippets Groups Projects
Commit c72fa19b authored by Ruqian Lyu's avatar Ruqian Lyu
Browse files

adding gitlab ci and nimble file

parent 412415fc
No related branches found
No related tags found
No related merge requests found
Pipeline #9243 failed
stages:
- buildStatic
- testStatic
variables:
before_script:
#alpine
#
buildStatic:
tags:
- docker
image: svirlyu/sscocaller_nsb
stage: buildStatic
script:
- /usr/local/bin/nsb -s ./src/sgcocaller.nim -n sgcocaller.nimble -o . -- --d:release --threads:on
- ls -l ./src
artifacts:
paths:
- ./src/sgcocaller
testUbuntu:
tags:
- docker
image: ubuntu
stage: testStatic
script:
- ./src/sgcocaller -h
testDebian:
tags:
- docker
image: debian
stage: testStatic
script:
- ./src/sgcocaller -h
testRedHat:
stage: testStatic
script:
- ./src/sgcocaller -h
## shell executer
##testFunction:
## stage: testStatic
## script:
## - sh tests/test.sh
testAlpine:
tags:
- docker
image: alpine
stage: testStatic
script:
- ./src/sgcocaller -h
#release:
#i tag_name: $CI_COMMIT_TAG
# script:
# - echo "create static build"
# image: registry.gitlab.com/gitlab-org/release-cli:latest
# Package
version = "0.3.3"
author = "Ruqian Lyu"
description = "sgcocaller: calling crossovers from single-gamete DNA sequencing datasets"
license = "MIT"
srcDir = "src"
bin = @["sgcocaller"]
# Dependencies
requires "nim >= 1.0.0","docopt","hts >= 0.3.4"
requires "https://github.com/ruqianl/distributions.git"
# task test, "run the tests":
# exec "nim c -d:useSysAssert -d:useGcAssert --lineDir:on --debuginfo -r tests/test_groups"
# exec "bash tests/functional-tests.sh"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment