Install glab and zlib-devel; try to cache helix src
This commit is contained in:
@@ -33,7 +33,8 @@ modules:
|
|||||||
- erlang-doc
|
- erlang-doc
|
||||||
- elixir
|
- elixir
|
||||||
- elixir-doc
|
- elixir-doc
|
||||||
- zlib
|
- zlib-devel
|
||||||
|
- glab
|
||||||
- type: script
|
- type: script
|
||||||
scripts:
|
scripts:
|
||||||
- install-mkcert.sh
|
- install-mkcert.sh
|
||||||
|
|||||||
@@ -1,11 +1,31 @@
|
|||||||
stages:
|
stages:
|
||||||
|
- name: helix-src
|
||||||
|
from: alpine
|
||||||
|
modules:
|
||||||
|
- type: script
|
||||||
|
snippets:
|
||||||
|
- apk update && apk install git
|
||||||
|
- type: script
|
||||||
|
no-cache: true
|
||||||
|
snippets:
|
||||||
|
- git clone https://github.com/helix-editor/helix.git /helix
|
||||||
- name: helix
|
- name: helix
|
||||||
from: rust
|
from: rust
|
||||||
modules:
|
modules:
|
||||||
|
- type: copy
|
||||||
|
from: helix-src
|
||||||
|
src: /helix
|
||||||
|
dest: /helix
|
||||||
- type: script
|
- type: script
|
||||||
no-cache: true
|
# scripts:
|
||||||
scripts:
|
# - install-helix.sh
|
||||||
- install-helix.sh
|
snippets:
|
||||||
|
- |
|
||||||
|
RUSTFLAGS="-C target-feature=-crt-static"
|
||||||
|
cargo install --path helix-term
|
||||||
|
- mkdir -p /out/
|
||||||
|
- mv $CARGO_HOME/bin/hx /out/hx
|
||||||
|
- mv runtime /out/
|
||||||
modules:
|
modules:
|
||||||
- type: copy
|
- type: copy
|
||||||
from: helix
|
from: helix
|
||||||
|
|||||||
Reference in New Issue
Block a user