aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: b4e2061fdf330315416ee9a12b79c5f8b1f1667b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
image: debian:stable-slim

stages:
  - build
  - test

build:
  script:
    - apt-get -qq update
    - apt-get install -y make binutils nasm gcc libc6-dev libc6-dev-i386
    - make -j4 V=s
  after_script:
    - cat crypter/xor_encoder.h
    - cat crypter/xor2_encoder.h
  stage: build
  artifacts:
    untracked: true
    when: always
  only:
    - master

test:
  script:
    - ./funcjmp_simple_x86 || test $? -eq 66
    - ./funcjmp_ext_x86 || test $? -eq 66
  stage: test
  dependencies:
    - build
  only:
    - master