Chris Lovett
ad7c5b26a7
fix: UTF-8 file path support for lean on Windows
...
* fix msys2 windows build so the windows apps support utf-8 file paths.
* use windres to compile default-manifest.o
* windres is in binutils.
* stop modifying default-manifest.o
* copy to stage0
* fix semicolon joining of lists in add_custom_target
* undo changes to stage0 as per CR feedback.
* fix makefile
* fix: revert cmakelists.txt COMMAND_EXPAND_LISTS change
* fix: msys2 dependencies
* add unit test for decoding UTF-8 chars to prove "lean.exe" can read utf-8 encoded files where utf-8 is also used in the file name.
* fix: utf-8 test by using windows-2022
* fix: do we really need cmake 3.11 or will 3.10 do?
* nope, really does require cmake 11.
2021-09-22 12:21:52 +02:00
Sebastian Ullrich
3d0967f75b
Revert "chore: CI: switch to GCC on Windows for now"
...
This reverts commit 440abd4bd1 .
2021-09-17 19:13:03 +02:00
Sebastian Ullrich
a7b044b80b
chore: CI: build macOS without nix-shell
...
GH Actions already comes with most dependencies and it seems to avoid an
issue with Zig libc++ compilation (because of OSX_DEPLOYMENT_TARGET?)
2021-09-16 21:33:56 +02:00
Sebastian Ullrich
e0869bdf55
fix: sanitized build
2021-09-08 17:24:31 +02:00
Sebastian Ullrich
c138dc7d44
chore: CI: fix patching & copying dependent libs
2021-08-20 09:42:05 -07:00
Sebastian Ullrich
5f4b1b1d44
Revert "Revert "feat: reintroduce libleanshared, link lean & leanpkg against it""
...
This reverts commit ccbc9d00db .
2021-08-20 09:42:05 -07:00
Sebastian Ullrich
ccbc9d00db
Revert "feat: reintroduce libleanshared, link lean & leanpkg against it"
2021-08-20 15:39:00 +02:00
Sebastian Ullrich
41b676fd52
chore: CI: fix sanitized build
2021-08-18 13:54:52 +02:00
Sebastian Ullrich
be31d38146
chore: CI: lower ctest timeout
2021-08-18 13:54:52 +02:00
Sebastian Ullrich
6827928594
chore: cpack: copy required libraries via ldd/otool
2021-08-18 13:54:52 +02:00
Sebastian Ullrich
68ecda843b
chore: remove STATIC cmake flag
2021-08-18 13:54:52 +02:00
Sebastian Ullrich
440abd4bd1
chore: CI: switch to GCC on Windows for now
...
See discussion at https://github.com/leanprover/lean4/pull/555
2021-08-18 13:54:52 +02:00
Sebastian Ullrich
e6a1d24af3
chore: CI: move "Lean stats" after archive upload
2021-08-18 13:54:52 +02:00
Sebastian Ullrich
66c83c5cf1
chore: fix macOS patching
2021-08-18 13:54:52 +02:00
Sebastian Ullrich
22a0e4145a
chore: debug macOS build
2021-08-18 13:54:52 +02:00
Sebastian Ullrich
e121ae0d78
chore: turn off -Bsymbolic-functions in sanitized build
2021-08-18 13:54:52 +02:00
Sebastian Ullrich
617f17facb
feat: reintroduce libleanshared, link lean & leanpkg against it
2021-08-18 13:54:52 +02:00
Sebastian Ullrich
4e7cb76281
chore: Nix: adjust local cache config
2021-08-09 12:16:17 +02:00
Sebastian Ullrich
bae31853b8
chore: Nix: do not install Cachix if not authenticated
2021-08-06 16:58:44 +02:00
Sebastian Ullrich
557af62008
chore: Nix: do not include temci by default
2021-08-06 16:58:44 +02:00
Sebastian Ullrich
2cf780f95d
chore: Nix: cache store
2021-08-06 16:58:44 +02:00
Sebastian Ullrich
88492e38a7
chore: CI: run lean --stats src/Lean.lean
2021-08-04 16:40:57 +02:00
Sebastian Ullrich
e68d09704d
chore: Nix CI: build & cache everything again
2021-06-21 11:53:54 +02:00
Wojciech Nawrocki
d92e4a7cf1
chore: restore LEANC_EXTRA_FLAGS
...
We now pass them to both compilers and linkers. For example, -pthread should be given to both: https://stackoverflow.com/questions/2127797/significance-of-pthread-flag-when-compiling
2021-06-06 15:34:44 +02:00
Wojciech Nawrocki
c772dc49ef
chore: use leanc for all C code
2021-06-06 15:34:44 +02:00
Sebastian Ullrich
a85d0672fe
chore: Nix CI: fall back to building locally if remote cache doesn't work
2021-05-06 22:07:03 +02:00
Sebastian Ullrich
172d47c468
chore: CI: fix
2021-02-12 22:55:22 +01:00
Sebastian Ullrich
5db8073c32
chore: CI: nightlies race condition
2021-02-12 22:16:52 +01:00
Sebastian Ullrich
11e55bf4af
chore: Nix: update Nix client to resolve https://github.com/NixOS/nix/issues/4469
2021-01-26 18:01:39 +01:00
Sebastian Ullrich
0b146abeb1
chore: CI: don't schedule nightlies on forks
2021-01-14 15:04:45 +01:00
Sebastian Ullrich
5797ee4ab2
chore: CI: try to fix caching on Windows
2021-01-14 14:55:38 +01:00
Sebastian Ullrich
d2614181f3
chore: nightlies: accept spaces in token (assuming GH accepts them)
2021-01-05 12:45:53 +01:00
Sebastian Ullrich
8a3808bd45
chore: nightly releases
2021-01-04 13:46:20 +01:00
Sebastian Ullrich
3b96b1ed83
feat: push GitHub release on v* tag
2021-01-04 13:46:20 +01:00
Sebastian Ullrich
28210c8474
chore: CI: be more verbose
2021-01-02 22:00:30 +01:00
Sebastian Ullrich
91454854f8
chore: de-Nixify leanpkg
2021-01-02 22:00:30 +01:00
Sebastian Ullrich
3543cae8e8
chore: CI: verbose output for Build manual
2020-12-14 14:53:36 +01:00
Sebastian Ullrich
4390de88b8
chore: CI: ignore Cachix failures
2020-12-09 20:12:20 +01:00
Sebastian Ullrich
a180a4c080
fix: Nix: don't try to push PRs
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
e9bb7c1175
fix: CI: macOS job
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
6be577b634
fix: CI: Linux release job
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
d61cb698aa
chore: hide matrix parameters in CI job names
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
a5ad46f7be
feat: Nix: mdbook
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
58d97def40
chore: Nix: cache .o files on macOS as well
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
574cc0b4a3
chore: Nix: do a single-user install after all so the ccache cache doesn't get confused about permissions
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
e094bdcd62
chore: Nix: print cumulative and per-line execution time on CI
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
4061894943
chore: Nix: set up ccache config & fix ccache stats step
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
6e406d50d9
chore: Nix: cache stage 0
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
bcebc0a145
chore: Nix: set up Cachix
2020-11-24 19:16:27 +01:00
Sebastian Ullrich
2407673394
chore: Nix: install flakes-enabled Nix directly from Hydra
2020-11-24 19:16:27 +01:00