6
6
7
7
jobs :
8
8
build-linux :
9
- runs-on : ubuntu-18.04
10
- container : " geodesolutions/ centos"
9
+ runs-on : ubuntu-latest
10
+ container : " ghcr.io/geode-solutions/ centos:master "
11
11
strategy :
12
12
matrix :
13
13
config :
14
- - {python: "3.6", tag: "cp36-cp36m", dir: "3.6m"}
15
14
- {python: "3.7", tag: "cp37-cp37m", dir: "3.7m"}
16
15
- {python: "3.8", tag: "cp38-cp38", dir: "3.8"}
17
16
- {python: "3.9", tag: "cp39-cp39", dir: "3.9"}
32
31
env :
33
32
VERSION : " unknown"
34
33
PLATFORM : " linux"
35
- Python3_EXECUTABLE : /opt/python/${{ matrix.config.tag }}/bin/python${{ matrix.config.dir }}
36
- Python3_INCLUDE_DIR : /opt/python/${{ matrix.config.tag }}/include/python${{ matrix.config.dir }}
34
+ PYTHON_PREFIX : /opt/python/${{ matrix.config.tag }}
37
35
- name : Notify slack
38
36
if : failure() && github.ref == 'refs/heads/master'
39
37
uses : 8398a7/action-slack@v2
@@ -44,11 +42,10 @@ jobs:
44
42
SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
45
43
46
44
build-windows :
47
- runs-on : windows-2016
45
+ runs-on : windows-2019
48
46
strategy :
49
47
matrix :
50
48
config :
51
- - {python: "3.6", tag: "cp36-cp36m"}
52
49
- {python: "3.7", tag: "cp37-cp37m"}
53
50
- {python: "3.8", tag: "cp38-cp38"}
54
51
- {python: "3.9", tag: "cp39-cp39"}
73
70
env :
74
71
VERSION : " unknown"
75
72
PLATFORM : " win64"
76
- Python3_ROOT_DIR : ${{ env.pythonLocation }}
77
- CSC_LINK : ${{ secrets.CODE_SIGN_CERTIFICATE }}
78
- CSC_KEY_PASSWORD : ${{ secrets.CODE_SIGN_PASSWORD }}
73
+ PYTHON_PREFIX : ${{ env.pythonLocation }}
79
74
- name : Notify slack
80
75
if : failure() && github.ref == 'refs/heads/master'
81
76
uses : 8398a7/action-slack@v2
86
81
SLACK_WEBHOOK_URL : ${{ secrets.SLACK_WEBHOOK_URL }}
87
82
88
83
semantic-release :
89
- runs-on : ubuntu-18.04
84
+ runs-on : ubuntu-latest
90
85
needs : [build-linux, build-windows]
91
86
steps :
92
87
- uses : actions/checkout@v1
0 commit comments