.gitlab-ci.yml 493 Bytes
Newer Older
Miguel Castiblanco's avatar
Miguel Castiblanco committed
1 2 3
variables:
  PACKAGE_FOLDER: "snes9x"

4 5 6
stages:
  - package

7
package:
8
  stage: package
9
  image: starcarr/libnx:latest
Miguel Castiblanco's avatar
Miguel Castiblanco committed
10
  script:
Starcarr's avatar
Starcarr committed
11
    - sh build.sh $PACKAGE_FOLDER master
Starcarr's avatar
Starcarr committed
12 13 14 15 16 17 18 19
  artifacts:
    name: $PACKAGE_FOLDER
    paths:
    - $PACKAGE_FOLDER
  only:
    - master

nightly:
20
  stage: package
21
  image: starcarr/libnx:nightly
Starcarr's avatar
Starcarr committed
22
  script:
Starcarr's avatar
Starcarr committed
23
    - sh build.sh $PACKAGE_FOLDER develop
Miguel Castiblanco's avatar
Miguel Castiblanco committed
24
  artifacts:
Miguel Castiblanco's avatar
Miguel Castiblanco committed
25
    name: $PACKAGE_FOLDER
Starcarr's avatar
Starcarr committed
26
    expire_in: 24 hours
Miguel Castiblanco's avatar
Miguel Castiblanco committed
27
    paths:
Miguel Castiblanco's avatar
Miguel Castiblanco committed
28
    - $PACKAGE_FOLDER
Starcarr's avatar
Starcarr committed
29 30
  except:
    - master
Miguel Castiblanco's avatar
Miguel Castiblanco committed
31

32