Skip to content

Commit

Permalink
Improve CI (#151)
Browse files Browse the repository at this point in the history
* fix: improve test
* fix: replace --runtime=nvidia
* fix: cpu and mkl
* fix: use icon instead of iconUrl
  • Loading branch information
takuya-takeuchi authored Feb 20, 2021
1 parent 9a3f39a commit 8c53569
Show file tree
Hide file tree
Showing 56 changed files with 1,533 additions and 1,533 deletions.
139 changes: 139 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
stages:
- build
- package
- test

build:win:
stage: build
before_script:
- chcp 65001
- git submodule update --init --recursive
- "Get-ChildItem env:"
script:
- cd nuget
- git clean -fxd .
- pwsh BuildWindows.ps1
tags:
- windows
- cuda
artifacts:
paths:
- nuget/artifacts

build:cent:
stage: build
before_script:
- git submodule update --init --recursive
- export
script:
- cd nuget
- pwsh BuildCentOS7.ps1
tags:
- linux
- cuda
artifacts:
paths:
- nuget/artifacts

build:ubuntu:
stage: build
before_script:
- git submodule update --init --recursive
- export
script:
- cd nuget
- pwsh BuildUbuntu16.ps1
tags:
- linux
- cuda
artifacts:
paths:
- nuget/artifacts

build:osx:
stage: build
before_script:
- git submodule update --init --recursive
- export
script:
- cd nuget
- pwsh BuildOSX.ps1
tags:
- osx
artifacts:
paths:
- nuget/artifacts

package:
stage: package
before_script:
- chcp 65001
script:
- cd nuget
- pwsh CreateAllPackage.ps1
tags:
- windows
dependencies:
- build:win
- build:ubuntu
- build:cent
- build:osx
artifacts:
paths:
- nuget/*.nupkg

test:win:
stage: test
before_script:
- chcp 65001
script:
- cd nuget
- pwsh TestPackageWindows.ps1
tags:
- windows
dependencies:
- package
artifacts:
paths:
- nuget/artifacts/test

test:cent:
stage: test
script:
- cd nuget
- pwsh TestPackageCentOS7.ps1
tags:
- linux
- cuda
dependencies:
- package
artifacts:
paths:
- nuget/artifacts/test

test:ubuntu:
stage: test
script:
- cd nuget
- pwsh TestPackageUbuntu16.ps1
tags:
- linux
- cuda
dependencies:
- package
artifacts:
paths:
- nuget/artifacts/test

test:osx:
stage: test
script:
- cd nuget
- pwsh TestPackageOSX.ps1
tags:
- osx
dependencies:
- package
artifacts:
paths:
- nuget/artifacts/test
Loading

0 comments on commit 8c53569

Please sign in to comment.