You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `runtime` | no | `''` | If runner OS is Windows, a MSYS2 runtime can be selected (`mingw64`, `ucrt64`). If not set, Windows native is used (not MSYS2 environment). |
70
72
| `install-directory` | no | `'install'` | Local installation directory, in case an archive asset is downloaded and extracted. |
@@ -79,28 +81,36 @@ jobs:
79
81
| `ghdl-lib-directory` | tbd |
80
82
81
83
82
-
## Dependencies
84
+
## Behavior and Dependencies
83
85
84
86
### On Linux (Ubuntu)
85
87
86
-
* Download GHDL asset as `*.tar.gz` and extract files to `install-directory`.
87
-
* Further dependencies will be installed using `apt-get`.
88
-
* GHDL will be added to `PATH`.
88
+
* Download GHDL asset from https://github.com/ghdl/ghdl/releases as `*.tar.gz` and extract files into
89
+
`install-directory`.
90
+
* Further dependencies will be installed using `apt-get` and reading the embedded `ubuntu.requirements`
91
+
file.
92
+
* GHDL's `bin` directory will be added to `PATH`.
89
93
90
94
### On macOS
91
95
92
-
* Download GHDL asset as `*.tar.gz` and extract files to `install-directory`.
93
-
* GHDL will be added to `PATH`.
96
+
* Download GHDL asset from https://github.com/ghdl/ghdl/releases as `*.tar.gz` and extract files into
97
+
`install-directory`.
98
+
* All dependencies are contained within the archive, thus no further dependencies need to be installed.
99
+
* GHDL's `bin` directory will be added to `PATH`.
94
100
95
101
### On Windows (native)
96
102
97
-
*tbd*
103
+
* Download GHDL asset from https://github.com/ghdl/ghdl/releases as `*.zip` into `install-directory`.
104
+
* The archive is extracted into the same directory.
105
+
* All dependencies are contained within the archive, thus no further dependencies need to be installed.
106
+
* GHDL's `bin` directory will be added to `PATH`.
98
107
99
108
### On Windows + MSYS2
100
109
101
-
* Download GHDL asset as `*.pkg.tar.zst` installation package for pacman.
102
-
* Install package and further dependencies (listed in the package) via pacman.
103
-
110
+
* Download GHDL asset from https://github.com/ghdl/ghdl/releases as `*.pkg.tar.zst` installation package for pacman.
111
+
* Install this package.
112
+
* Further dependencies get automatically installed by pacman, as listed as dependencies in the package.
113
+
* No need to modify `PATH`, because GHDL got installed into the MSYS2 system.
104
114
105
115
## Contributors
106
116
@@ -109,5 +119,15 @@ jobs:
109
119
110
120
### Credits
111
121
112
-
This GitHub Action replaces `setup-ghdl-ci`, a Javascript Action developed by Umarcor, with a composite action using
113
-
simples instructions (`curl`, `tar`, `apt-get`) written in Bash.
122
+
This GitHub Action replaces `setup-ghdl-ci`, a Javascript Action developed by
123
+
[Unai Martinez-Corral](https://GitHub.com/umarcor), with a composite action using simples instructions (`curl`, `tar`,
124
+
`apt-get`) written in Bash or Powershell.
125
+
126
+
127
+
## License
128
+
129
+
This GitHub Composite Action (source code) licensed under [The MIT License](LICENSE.md).
0 commit comments