forked from bytedeco/javacpp-presets
-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (60 loc) · 1.63 KB
/
mxnet.yml
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: mxnet
on:
push:
paths:
- mxnet/**
- .github/workflows/mxnet.yml
pull_request:
paths:
- mxnet/**
- .github/workflows/mxnet.yml
workflow_dispatch:
env:
CI_DEPLOY_NEED_CUDA: 1
CI_DEPLOY_MODULE: ${{ github.workflow }}
CI_DEPLOY_PLATFORM: ${{ github.job }}
CI_DEPLOY_SETTINGS: ${{ secrets.CI_DEPLOY_SETTINGS }}
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}
STAGING_REPOSITORY: ${{ secrets.STAGING_REPOSITORY }}
jobs:
linux-x86:
runs-on: ubuntu-20.04
container: centos:7
steps:
- uses: bytedeco/javacpp-presets/.github/actions/deploy-centos@actions
linux-x86_64:
runs-on: ubuntu-20.04
container: centos:7
strategy:
fail-fast: false
matrix:
ext: ["", -gpu]
steps:
- uses: bytedeco/javacpp-presets/.github/actions/deploy-centos@actions
macosx-x86_64:
runs-on: macos-11
# strategy:
# fail-fast: false
# matrix:
# ext: ["", -gpu]
steps:
- uses: bytedeco/javacpp-presets/.github/actions/deploy-macosx@actions
windows-x86_64:
runs-on: windows-2019
strategy:
fail-fast: false
matrix:
ext: ["", -gpu]
steps:
- uses: al-cheb/[email protected]
with:
minimum-size: 16GB
maximum-size: 32GB
disk-root: "C:"
- uses: bytedeco/javacpp-presets/.github/actions/deploy-windows@actions
redeploy:
needs: [linux-x86, linux-x86_64, macosx-x86_64, windows-x86_64]
runs-on: ubuntu-20.04
steps:
- uses: bytedeco/javacpp-presets/.github/actions/redeploy@actions