1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-14 08:27:03 +03:00
juvix/test
Jonathan Cubides 807b3b1770
Update CI to install Smoke, Github actions, and Makefile fixes (#1735)
This PR adds some maintenance at different levels to the CI config, the
Make file, and formatting.

- Most of the actions used by the CI related to haskell, ormolu, hlint
and pre-commit have been updated because Github requires NodeJS 16. This
change removes all the old warnings related to nodeJs.
In the case of ormolu, the new version makes us format some files that
were not formatted before, similarly with hlint.
- The CI has been updated to use the latest version of the Smoke testing
framework, which introduced installation of the dependencies for Linux
(libicu66) and macOS (icu4c) in the CI. In the case of macOS, the CI
uses a binary for smoke. For Linux, we use stack to build smoke from the
source. The source here is in a fork of [the official Smoke
repo](https://github.com/SamirTalwar/smoke). Such includes some
features/changes that are not yet in the official repo.

- The Makefile runs the ormolu and hlint targets using as a path for the
binaries the environment variables ORMOLU and HLINT. Thus, export those
variables in your environment before running `make check,` `make format`
or `make hlint`. Otherwise, the Makefile will use the binaries provided
by `stack`.

Co-authored-by: Paul Cadman <git@paulcadman.dev>
2023-01-24 11:50:23 +01:00
..
Arity Typecheck let expressions (#1712) 2023-01-17 09:41:07 +01:00
Asm JuvixCore to JuvixAsm translation (#1665) 2023-01-09 18:21:30 +01:00
BackendC Automatized benchmarks (#1673) 2023-01-05 17:48:26 +01:00
Compilation Translate 'let' to Core (#1740) 2023-01-19 12:56:37 +01:00
Core Tests for the new compilation pipeline (#1703) 2023-01-12 11:22:32 +01:00
Internal Do not filter implicit args in internal to core translation (#1728) 2023-01-16 14:13:17 +00:00
Parsing Support basic dependencies (#1622) 2022-12-20 13:05:40 +01:00
Reachability Support basic dependencies (#1622) 2022-12-20 13:05:40 +01:00
Runtime Automatized benchmarks (#1673) 2023-01-05 17:48:26 +01:00
Scope Update CI to install Smoke, Github actions, and Makefile fixes (#1735) 2023-01-24 11:50:23 +01:00
Termination Change syntax for ind. data types and forbid the empty data type (#1684) 2023-01-03 13:49:04 +01:00
Typecheck Refactor html command with extra options (#1725) 2023-01-17 18:11:59 +01:00
Arity.hs Support implicit arguments (#144) 2022-06-13 14:25:22 +02:00
Asm.hs Translation from JuvixAsm to C (#1619) 2022-12-06 11:33:20 +01:00
BackendC.hs Support partial application and closure passing in C backend (#190) 2022-06-28 10:25:43 +02:00
Base.hs Automatized benchmarks (#1673) 2023-01-05 17:48:26 +01:00
Compilation.hs Tests for the new compilation pipeline (#1703) 2023-01-12 11:22:32 +01:00
Core.hs JuvixCore to JuvixAsm translation (#1665) 2023-01-09 18:21:30 +01:00
Internal.hs Add translation from Internal to Core (#1567) 2022-11-07 14:47:56 +01:00
Main.hs Tests for the new compilation pipeline (#1703) 2023-01-12 11:22:32 +01:00
Parsing.hs Disallow tab characters as spaces (#1523) 2022-09-07 13:59:41 +02:00
Reachability.hs Compute name dependency graph and filter unreachable definitions (#1408) 2022-07-25 18:38:44 +02:00
Runtime.hs Juvix C runtime (#1580) 2022-11-03 09:38:09 +01:00
Scope.hs [ CI ] New jobs: ormolu and hlint 2022-04-05 19:57:21 +02:00
Termination.hs Add the termination checker to the pipeline (#111) 2022-05-30 13:40:52 +02:00
Typecheck.hs Add lambda expressions to internal and add typechecking support (#1538) 2022-09-23 15:43:18 +02:00