diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile new file mode 100644 index 00000000000..b94a2d6f7ec --- /dev/null +++ b/.gitpod.Dockerfile @@ -0,0 +1,4 @@ +FROM gitpod/workspace-full + +RUN git clone https://github.com/nearprotocol/nearcore.git --depth 1 /home/gitpod/nearcore +RUN bash -cl "cd /home/gitpod/nearcore && cargo build && cargo test" diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 00000000000..5f2b2a330ea --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,8 @@ +tasks: + - init: cp -R /home/gitpod/nearcore/target ./target && cargo build && cargo test +image: + file: .gitpod.Dockerfile +github: + prebuilds: + addCheck: true + addComment: true