https://github.com/JuliaDiffEq/DiffEqFlux.jl
Revision e620ea99053cd6a818cd9a0b8deeca8af26c5842 authored by Christopher Rackauckas on 26 March 2020, 15:55:22 UTC, committed by GitHub on 26 March 2020, 15:55:22 UTC
1 parent e2924d7
Raw File
Tip revision: e620ea99053cd6a818cd9a0b8deeca8af26c5842 authored by Christopher Rackauckas on 26 March 2020, 15:55:22 UTC
Update Project.toml
Tip revision: e620ea9
.gitlab-ci.yml
image: "julia:1"

variables:
  JULIA_DEPOT_PATH: "$CI_PROJECT_DIR/.julia/"
  JULIA_NUM_THREADS: '8'
  JULIA_CUDA_VERBOSE: 'true'

cache:
  paths:
    - .julia/

build:
  stage: build
  tags:
    - 'p6000'
  script:
    - curl https://julialang-s3.julialang.org/bin/linux/x64/1.3/julia-1.3.1-linux-x86_64.tar.gz -o julia.tar.gz
    - unp julia.tar.gz
    - export PATH="$(pwd)/julia-1.3.1/bin:$PATH"
    - julia -e "using InteractiveUtils;
                versioninfo()"
    - julia --project -e "using Pkg;
                          Pkg.update();
                          Pkg.instantiate();"
  only:
  - master
  - tags
  - external
  - pushes
  artifacts:
    untracked: true
    paths:
      - .julia/**/*
      - julia-1.3.1/**/*

test-GPU:
  stage: test
  tags:
    - 'p6000'
  dependencies:
    - build
  variables:
    GROUP: "GPU"
  script:
    - export PATH="$(pwd)/julia-1.3.1/bin:$PATH"
    - julia -e "using InteractiveUtils;
                versioninfo()"
    - julia --project -e "using Pkg; Pkg.add(\"CuArrays\");
                          Pkg.test(\"DiffEqFlux\"; coverage=true);"
  only:
  - master
  - tags
  - external
  - pushes
  artifacts:
    untracked: true
    paths:
      - .julia/**/*
      - julia-1.3.1/**/*
back to top