Commit graph

21 commits

Author SHA1 Message Date
Alexander Artemenko
487d54503a Fixed calling of test.ros under the windows, simplified Roswell install and dont pollute PATH with a path to Action directory. 2024-01-30 19:02:51 +03:00
Alexander Artemenko
b7a3e0ed16 Added a test to check if need lisp really was installed and activated. 2024-01-27 22:11:03 +03:00
Alexander Artemenko
df23291fee Create .roswell folder. 2023-12-13 22:29:30 +00:00
Alexander Artemenko
b07ebec1b4 Replace tab. 2023-12-13 22:17:00 +00:00
Alexander Artemenko
eafa22e5ca Use quicklisp client fix to load package-inferred systems without problems. 2023-12-13 21:40:35 +00:00
Ákos Kiss
791d720749 Use env. variable instead of an expression in action.yml (fixes #7)
This is a workaround for backslashes being included in the path for
${{ github.action_path }} even when using bash on Windows.
2023-08-06 16:04:12 +02:00
Alexander Artemenko
0d4e947bd4 Switching to msys2/setup-msys2@2.14.0 2022-11-10 10:46:13 +03:00
Matteo Landi
8e15e10663 Compat with latest msys2/setup-msys2 2021-10-28 13:40:12 +02:00
Matteo Landi
b615572a53 Try to make it easier to use this action
1. Move the `uses` for `setup-msys2/setup-msys2` inside our action.
   Note, composite actions do not support conditional steps yet, and to
   workaround that I had to fork setup-msys2 and suppress the error when
   run on Linux or Mac OS
2. `bash-or-msys2` got renamed to `lispsh`, this way workflows can
   simply refer to that when in need to use Lisp-related tools like
   `ros`, or `qlot`

PS. The tests workflow was updated to reflect the above mentioned tests.
2021-10-27 09:30:33 +02:00
Matteo Landi
e0ec9dde9f Update all the QL dists just in case the Workflow had caching turned on 2021-10-26 19:22:14 +02:00
Matteo Landi
83e8e2c880 Switch to the latest version of Roswell
Roswell cannot be installed with git-bash anymore, so I had to set
things up again using msys2 (and that came with its own bag of
problems).

Given how unstables things seem to be (see:
https://github.com/roswell/roswell/issues/497), I went on and decided to
pin each dependency to a version which we know it's working:

- roswell-version: v21.10.14.111
- asdf-version: 3.3.5.3
- qlot-version: 0.11.5

(Note: `latest` can be used, as input, to tell the action to install the
latest version of the specific dependency)
2021-10-26 18:09:31 +02:00
Matteo Landi
2245ceb29f Install Roswell with sh -x to enable some debug traces 2021-10-19 13:56:40 +02:00
Matteo Landi
f0b3e3d20b Set things up correctly for Roswell to successfully install on Windows
- Set `ROSWELL_INSTALL_DIR` to a location that does not include spaces
  in its name, and add that to PATH as well so the installation script
  can find the newly unzip'd `ros` binary -- without this, it will try
  to build Roswell from sources and of course fail
- Set `MSYSCON` to let Roswell believe it's running in a msys2
  environment -- or otherwise the action would fail when trying to
  upgrade ASDF
- Add ~/.roswell/lisp/quicklisp/bin to PATH or otherwise the action
  would fail when trying to `qlot install`
2021-10-19 13:56:40 +02:00
Matteo Landi
4d14f6133e Add input: roswell-version
If not specified, the action will install the most recent version of
Roswell which is known to be compatible with this action, i.e.
v21.06.14.110; however, users can set this input equal to "master", and
the action will install the latest version of Roswell instead.
2021-10-19 13:56:40 +02:00
Alexander Artemenko
f40771d25e Move from Qlot 0.11.1 to 0.11.5. 2021-09-19 15:18:58 +03:00
Alexander Artemenko
77fa26e1cc Version of qlot was fixed on 0.11.1, because later versions are broken and unable to install systems from the GitHub.
See issue [#118](https://github.com/fukamachi/qlot/issues/118).
2021-09-12 20:10:12 +03:00
Alexander Artemenko
1e761224aa Added a new input variable `asdf-version`.
By default, the latest ASDF will be used.
2021-06-07 00:29:46 +03:00
Alexander Artemenko
19a7430956 Fixed installation of `libcurl4-openssl-dev` on Ubuntu Focal. 2021-04-04 21:07:32 +03:00
Alexander Artemenko
c2cd07ba30 Fixed error when there is no qlfile in the repository. 2021-02-22 13:02:37 +03:00
Alexander Artemenko
0ca13aacbd Fixed path to the templater. 2021-02-07 16:48:22 +03:00
Alexander Artemenko
5b8a4ddf32 Setup-lisp action was factored out into a separate repository. 2021-02-07 16:43:25 +03:00
Renamed from .github/actions/setup-lisp/action.yml (Browse further)