-
Notifications
You must be signed in to change notification settings - Fork 4
97 lines (89 loc) · 3.07 KB
/
build.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
name: Build
on:
push:
schedule:
- cron: '0 0 * * 4'
jobs:
archlinux-base:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: docker build archlinux-base -t openturns/archlinux-base
- name: Upload
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
run: ./deploy.sh openturns/archlinux-base
archlinux-python:
needs: archlinux-base
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: docker build archlinux-python -t openturns/archlinux-python
- name: Upload
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
run: ./deploy.sh openturns/archlinux-python
archlinux-mingw:
needs: archlinux-base
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: docker build archlinux-mingw -t openturns/archlinux-mingw
- name: Upload
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
run: ./deploy.sh openturns/archlinux-mingw
archlinux-module:
needs: archlinux-base
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: docker build archlinux-module -t openturns/archlinux-module
- name: Upload
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
run: ./deploy.sh openturns/archlinux-module
archlinux-module-mingw:
needs: archlinux-mingw
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: docker build archlinux-module-mingw -t openturns/archlinux-module-mingw
- name: Upload
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
run: ./deploy.sh openturns/archlinux-module-mingw
manylinux2014_x86_64:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: docker build manylinux2014_x86_64 -t openturns/manylinux2014_x86_64
- name: Test
run: docker run --rm --volume `pwd`/manylinux2014_x86_64:/io openturns/manylinux2014_x86_64 sh -c "/io/run_docker_build.sh"
- name: Upload
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
run: ./deploy.sh openturns/manylinux2014_x86_64
debian-aarch64:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: docker build debian-aarch64 -t openturns/debian-aarch64
- name: Upload
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
run: ./deploy.sh openturns/debian-aarch64