|
97 | 97 | # Windows (MSYS2) with 'nightly' GHDL |
98 | 98 | # |
99 | 99 |
|
100 | | - win-setup: |
| 100 | + win: |
101 | 101 | runs-on: windows-latest |
102 | 102 | strategy: |
103 | 103 | fail-fast: false |
@@ -137,61 +137,13 @@ jobs: |
137 | 137 | - name: '🚧 Run job' |
138 | 138 | run: tox -e py${{ matrix.task }} -- --color=yes |
139 | 139 |
|
140 | | -# |
141 | | -# Windows with latest tagged GHDL |
142 | | -# |
143 | | - |
144 | | - win-tagged: |
145 | | - runs-on: windows-latest |
146 | | - strategy: |
147 | | - fail-fast: false |
148 | | - matrix: |
149 | | - task: [ |
150 | | - 37-acceptance-ghdl, |
151 | | - 37-vcomponents-ghdl, |
152 | | - 37-lint, |
153 | | - 37-unit, |
154 | | - ] |
155 | | - name: '🧊 Windows · tagged · ${{ matrix.task }}' |
156 | | - steps: |
157 | | - |
158 | | - - name: '🧰 Checkout' |
159 | | - uses: actions/checkout@v2 |
160 | | - with: |
161 | | - submodules: recursive |
162 | | - |
163 | | - - name: '🐍 Setup Python' |
164 | | - uses: actions/setup-python@v2 |
165 | | - with: |
166 | | - python-version: '3.10' |
167 | | - |
168 | | - - name: '🐍 Install dependencies' |
169 | | - run: | |
170 | | - pip install -U pip --progress-bar off |
171 | | - pip install -U virtualenv tox --progress-bar off |
172 | | -
|
173 | | - - name: '⚙️ Install GHDL' |
174 | | - if: endsWith( matrix.task, '-ghdl' ) |
175 | | - shell: bash |
176 | | - run: | |
177 | | - curl -fsSL -o ghdl.zip https://github.com/ghdl/ghdl/releases/download/v0.37/ghdl-0.37-mingw32-mcode.zip |
178 | | - 7z x ghdl.zip "-o../ghdl" -y |
179 | | - mv ../ghdl/GHDL/0.37-mingw32-mcode/ ../ghdl-v0.37 |
180 | | - rm -rf ../ghdl ghdl.zip |
181 | | -
|
182 | | - - name: '🚧 Run job' |
183 | | - shell: bash |
184 | | - run: | |
185 | | - export PATH=$PATH:$(pwd)/../ghdl-v0.37/bin |
186 | | - tox -e py${{ matrix.task }} -- --color=yes |
187 | | -
|
188 | 140 | # |
189 | 141 | # Deploy to PyPI |
190 | 142 | # |
191 | 143 |
|
192 | 144 | deploy: |
193 | 145 | runs-on: ubuntu-latest |
194 | | - needs: [ fmt, lin, docker, win-setup, win-tagged ] |
| 146 | + needs: [ fmt, lin, docker, win ] |
195 | 147 | if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') |
196 | 148 | name: '🚀 Deploy' |
197 | 149 | steps: |
|
0 commit comments