Commit 7a026a33 authored by French, Robert's avatar French, Robert
Browse files

Use breakable py

* Preserve hello_world.exe for run job
* Expire artifacts after 1 day
parent 03239a63
Loading
Loading
Loading
Loading
Loading
+23 −13
Original line number Diff line number Diff line
@@ -4,8 +4,10 @@ stages:

.build_template: &build
  stage: build
  script:
    - ./breakable -t build_hello_world
  artifacts: 
    paths:
    - hello_world.exe
    expire_in: 1 day

.run_template: &run
  stage: run
@@ -26,18 +28,26 @@ stages:
  - xk7
  environment: xk7

mac_build:
  <<: *mac
build:mac:
  <<: *build

mac_run:
  <<: *mac
  script:
  - ./breakable.py -t build_hello_world

run:mac:
  <<: *run
  <<: *mac
  dependencies:
  - build:mac

xk7_build:
  <<: *xk7
build:xk7:
  <<: *build

xk7_run:
  <<: *xk7
  script:
  - module load python && ./breakable.py -t build_hello_world

run:xk7:
  <<: *run
  <<: *xk7
  dependencies:
  - build:xk7