-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Bump Lean version and add dockerfile for testing
- Loading branch information
1 parent
d9ad780
commit 9f21552
Showing
6 changed files
with
32 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
/build | ||
/lakefile.olean | ||
/lake-packages/* | ||
/.lake | ||
/.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# This is a fairly minimal Ubuntu container that can build | ||
# lean-libuv for testing purposes. | ||
FROM ubuntu:jammy | ||
|
||
USER root | ||
|
||
RUN apt-get update && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ | ||
curl ca-certificates clang-14 expect git libuv1-dev pkg-config && \ | ||
apt-get clean | ||
|
||
RUN curl https://raw.githubusercontent.com/leanprover/elan/master/elan-init.sh -sSf | \ | ||
sh -s -- -y --default-toolchain none | ||
|
||
RUN update-alternatives --install /usr/bin/cc cc /usr/bin/clang-14 100 | ||
|
||
ENV PATH="/root/.elan/bin:${PATH}" | ||
|
||
WORKDIR /libuv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#include <lean/lean.h> | ||
#include <stdarg.h> | ||
#include <stdlib.h> | ||
#include <uv.h> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
leanprover/lean4:v4.3.0 | ||
leanprover/lean4:v4.5.0-rc1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters