stages:
  - buildStatic
  - testStatic 
variables:

before_script:


#alpine
#
buildStatic:
  tags: 
    - docker
  image: svirlyu/sscocaller_nsb
  stage: buildStatic
  script:
    - /usr/local/bin/nsb -s ./src/sscocaller.nim -n sscocaller.nimble -o . -- --d:release --threads:on
    - ls -l ./src
  artifacts:
    paths:
      - ./src/sscocaller

testUbuntu:
  tags:
    - docker
  image: ubuntu
  stage: testStatic
  script:
    - ./src/sscocaller -h
testDebian:
  tags:
    - docker
  image: debian
  stage: testStatic
  script:
    - ./src/sscocaller -h
## shell executer    
#testFunction:
#  stage: testStatic
#  script:
#    - sh tests/test.sh

testFedora:
  tags:
    - docker
  image: fedora
  stage: testStatic
  script:
  - ./src/sscocaller -h




#release:
#i  tag_name: $CI_COMMIT_TAG
#  script:
#    -  echo "create static build"
#  image: registry.gitlab.com/gitlab-org/release-cli:latest