summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 918e7edac5da46f323ec43f01127ac6b050fd26f (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
image: "redoxos/redox"

variables:
  GIT_STRATEGY: "pull"
  GIT_SUBMODULE_STRATEGY: "recursive"
  GIT_CHECKOUT: "true"

before_script:
    - rustup update
    - rustup component add rust-src
    - cargo install cargo-config xargo
    - pushd bootloader-efi
    - rustup update
    - rustup component add rust-src

img:
    script:
     - |
        mkdir -p "$HOME/.rustup/toolchains/nightly-2017-11-29-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin" &&
        popd &&
        make ci-img IMG_TAG=$CI_COMMIT_REF_NAME
    artifacts:
        paths:
         - build/img/
        expire_in: 1 week