Skip to content

Commit a3f3dca

Browse files
committed
Updated setup GHDL action
1 parent 2766c4e commit a3f3dca

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

.github/workflows/push.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -144,19 +144,20 @@ jobs:
144144
- name: '🟦 Setup MSYS2'
145145
uses: msys2/setup-msys2@v2
146146
with:
147-
msystem: MINGW64
147+
msystem: mingw64
148148
update: true
149-
install: mingw-w64-x86_64-python-pip
149+
install: mingw-w64-x86_64-python-pip
150150

151151
- name: '🧰 Checkout'
152152
uses: actions/checkout@v4
153153
with:
154154
submodules: recursive
155155

156156
- name: '⚙️ Setup GHDL'
157-
uses: ghdl/setup-ghdl-ci@master
157+
uses: ghdl/setup-ghdl@main
158158
with:
159-
backend: llvm
159+
backend: mcode
160+
runtime: mingw64
160161

161162
- name: '🐍 Install dependencies'
162163
run: pip install -U tox --progress-bar off

docs/ci/manual.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ There are six possible procedures to setup GHDL:
1919

2020
* Get and extract a tarball/zipfile from the *nightly* pre-release: `github.com/ghdl/ghdl/releases/nightly <https://github.com/ghdl/ghdl/releases/nightly>`_.
2121

22-
* (On GitHub Actions only) Use Action `ghdl/setup-ghdl-ci <https://github.com/ghdl/setup-ghdl-ci>`_.
22+
* (On GitHub Actions only) Use Action `ghdl/setup-ghdl <https://github.com/ghdl/setup-ghdl>`_.
2323

2424
* Use one of the Docker/OCI images provided in `ghdl/docker <https://github.com/ghdl/docker>`_.
2525

docs/ci/usecases.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ This is equivalent to *lin-vunit*, but it is slightly more verbose.
3333
lin-setup
3434
*********
3535

36-
Uses *JavaScript Action* `ghdl/setup-ghdl-ci <https://github.com/ghdl/setup-ghdl-ci>`_ to install GHDL on the Ubuntu host/VM.
36+
Uses *JavaScript Action* `ghdl/setup-ghdl <https://github.com/ghdl/setup-ghdl>`_ to install GHDL on the Ubuntu host/VM.
3737
Then, additional system packages and Python packages are installed explicitly.
3838

3939
Compared to previous approaches, in this case runtime dependencies are not pre-installed. As a result, startup is slightly
@@ -42,7 +42,7 @@ slower.
4242
win-setup
4343
*********
4444

45-
Uses Actions `ghdl/setup-ghdl-ci <https://github.com/ghdl/setup-ghdl-ci>`_ and `msys2/setup-msys2 <https://github.com/msys2/setup-msys2>`_
45+
Uses Actions `ghdl/setup-ghdl <https://github.com/ghdl/setup-ghdl>`_ and `msys2/setup-msys2 <https://github.com/msys2/setup-msys2>`_
4646
to install latest *nightly* GHDL, other MSYS2 packages and Python packages in a *clean* MINGW64 environment.
4747

4848
This is the recommended approach to run tests on Windows. Action setup-msys2 caches installed packages/dependencies

docs/news.d/1092.misc.rst

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Updated the setup GHDL action used in the GitHub CI.

0 commit comments

Comments
 (0)