9
9
tags :
10
10
- " *"
11
11
12
+ defaults :
13
+ run :
14
+ # This is needed for miniconda, see:
15
+ # https://github.com/marketplace/actions/setup-miniconda#important.
16
+ shell : bash -l {0}
12
17
13
18
jobs :
14
19
lint :
55
60
test-static :
56
61
needs : lint
57
62
runs-on : ${{ matrix.os }}
58
- defaults :
59
- run :
60
- # This is needed for miniconda, see:
61
- # https://github.com/marketplace/actions/setup-miniconda#important.
62
- shell : bash -l {0}
63
63
strategy :
64
64
matrix :
65
65
python-version :
80
80
- name : Install miniconda.
81
81
uses :
conda-incubator/[email protected] # https://github.com/conda-incubator/setup-miniconda.
82
82
with :
83
- channels : conda-forge,bioconda, defaults
83
+ channels : conda-forge,defaults
84
84
- name : Install requirements (MacOS)
85
85
run : conda install python=${{ matrix.python-version }} tox make automake autoconf libtool nasm
86
86
if : runner.os == 'macOS'
@@ -103,11 +103,6 @@ jobs:
103
103
test-dynamic :
104
104
runs-on : ${{ matrix.os }}
105
105
needs : lint
106
- defaults :
107
- run :
108
- # This is needed for miniconda, see:
109
- # https://github.com/marketplace/actions/setup-miniconda#important.
110
- shell : bash -l {0}
111
106
strategy :
112
107
matrix :
113
108
os : ["ubuntu-latest", "macos-latest", "windows-latest"]
@@ -118,7 +113,7 @@ jobs:
118
113
- name : Install miniconda.
119
114
uses :
conda-incubator/[email protected] # https://github.com/conda-incubator/setup-miniconda.
120
115
with :
121
- channels : conda-forge,bioconda, defaults
116
+ channels : conda-forge,defaults
122
117
- name : Install requirements (universal)
123
118
run : conda install isa-l python tox
124
119
- name : Set MSVC developer prompt
@@ -135,18 +130,26 @@ jobs:
135
130
needs : [lint, package-checks, test-static, test-dynamic]
136
131
strategy :
137
132
matrix :
138
- os : [ "macos-latest", "ubuntu-latest" ]
133
+ os : ["macos-latest", "ubuntu-latest", "windows-latest" ]
139
134
steps :
140
135
141
136
with :
142
137
submodules : recursive
143
- - uses : actions/setup-python@v2
144
- name : Install Python
145
- - name : Install cibuildwheel twine
146
- run : python -m pip install cibuildwheel twine
138
+ - name : Install miniconda.
139
+ uses : conda-incubator/[email protected] # https://github.com/conda-incubator/setup-miniconda.
140
+ with :
141
+ channels : conda-forge,defaults
147
142
- name : Install build dependencies (Macos)
148
- run : brew install yasm automake autoconf
143
+ run : conda install nasm automake autoconf python
149
144
if : runner.os == 'macOS'
145
+ - name : Install build dependencies (Windows)
146
+ run : conda install nasm python
147
+ if : runner.os == 'Windows'
148
+ - name : Set MSVC developer prompt
149
+
150
+ if : runner.os == 'Windows'
151
+ - name : Install cibuildwheel twine
152
+ run : python -m pip install cibuildwheel twine
150
153
- name : Build wheels
151
154
run : cibuildwheel --output-dir dist
152
155
env :
0 commit comments