.gitlab-ci.yml 1.26 KB
Newer Older
1
stages:
2
  - build
3
  - test
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

#make:generic:
  #stage: build
  #script:
    #- ./autogen.sh
    #- mkdir build
    #- ./configure --prefix=`pwd`/build
    #- make
    #- make install
  #artifacts:
    #paths:
      #- tests/*.log
  #except:
    #- /^wip.*/
    #- /^WIP.*/
19 20 21 22 23 24 25 26 27 28 29
    #

libnrm.build:
  stage: build
  script:
    - nix-build .integration.nix -A libnrm
  except:
    - /^wip\/.*/
    - /^WIP\/.*/
  tags:
    - integration
30

31
helloworld.integration.test:
32 33
  stage: test
  script:
34
    - nix-shell .integration.nix -A test --run "argotk.hs helloworld"
35 36 37 38 39 40 41
  artifacts:
    paths:
      - _output/cmd_err.log
      - _output/cmd_out.log
      - _output/daemon_out.log
      - _output/daemon_out.log
      - _output/nrm.log
42 43 44 45 46 47 48 49 50 51 52
      - _output/.argo_nodeos_config_exit_message
    expire_in: 1 week
  except:
    - /^wip\/.*/
    - /^WIP\/.*/
  tags:
    - integration

perfwrapper.integration.test:
  stage: test
  script:
53
    - nix-shell .integration.nix -A test --run "argotk.hs perfwrapper"
54 55 56 57 58 59 60
  artifacts:
    paths:
      - _output/cmd_err.log
      - _output/cmd_out.log
      - _output/daemon_out.log
      - _output/daemon_out.log
      - _output/nrm.log
61 62 63 64 65 66 67
      - _output/.argo_nodeos_config_exit_message
    expire_in: 1 week
  except:
    - /^wip\/.*/
    - /^WIP\/.*/
  tags:
    - integration