Merge branch 'master' into claro
This commit is contained in:
commit
31b1c9df4c
|
@ -15,7 +15,7 @@ curl -sSL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
|
||||||
ubuntu_ver="$(lsb_release -rs)"
|
ubuntu_ver="$(lsb_release -rs)"
|
||||||
ubuntu_name="$(lsb_release -cs)"
|
ubuntu_name="$(lsb_release -cs)"
|
||||||
|
|
||||||
node_repo="$(curl -sS https://deb.nodesource.com/setup_current.x | grep NODEREPO= | grep -Eo 'node_[0-9]+\.x' | head -n1)"
|
node_repo="$(curl -sS https://deb.nodesource.com/setup_16.x | grep NODEREPO= | grep -Eo 'node_[0-9]+\.x' | head -n1)"
|
||||||
|
|
||||||
tee -a /etc/apt/sources.list.d/custom.list >/dev/null <<EOF
|
tee -a /etc/apt/sources.list.d/custom.list >/dev/null <<EOF
|
||||||
deb https://deb.nodesource.com/${node_repo} ${ubuntu_name} main
|
deb https://deb.nodesource.com/${node_repo} ${ubuntu_name} main
|
||||||
|
|
|
@ -16,13 +16,13 @@ install:
|
||||||
cargo install llvmenv
|
cargo install llvmenv
|
||||||
llvmenv init
|
llvmenv init
|
||||||
# If compiler is not explicitly set to LLVM, then we get an
|
# If compiler is not explicitly set to LLVM, then we get an
|
||||||
# error: unrecognized command-line option ‘-Wnewline-eof’.
|
# error: unrecognized command-line option '-Wnewline-eof'.
|
||||||
CC=/usr/bin/clang CXX=/usr/bin/clang++ llvmenv build-entry -G Makefile -j$(nproc) 10.0.0
|
CC=/usr/bin/clang CXX=/usr/bin/clang++ llvmenv build-entry -G Makefile -j$(nproc) 10.0.1
|
||||||
llvmenv global 10.0.0
|
llvmenv global 10.0.1
|
||||||
manual: |
|
manual: |
|
||||||
git clone https://github.com/jfecher/ante.git -n
|
git clone https://github.com/jfecher/ante.git -n
|
||||||
pushd ante
|
pushd ante
|
||||||
git checkout 6e61e9f7ed9300ed68f6b9459b69f027e09a0c42
|
git checkout ba940f3b492fb448a6a73b139403eefa7a0daedc
|
||||||
LLVM_SYS_100_PREFIX="$(llvmenv prefix)" cargo build --release
|
LLVM_SYS_100_PREFIX="$(llvmenv prefix)" cargo build --release
|
||||||
install -d "${pkg}/opt/ante"
|
install -d "${pkg}/opt/ante"
|
||||||
install -d "${pkg}/usr/local/bin"
|
install -d "${pkg}/usr/local/bin"
|
||||||
|
|
|
@ -1,49 +0,0 @@
|
||||||
id: "carp"
|
|
||||||
name: "Carp"
|
|
||||||
|
|
||||||
info:
|
|
||||||
year: 2015
|
|
||||||
desc: "Programming language designed to work well for interactive and performance sensitive use cases like games, sound synthesis and visualizations"
|
|
||||||
ext: carp
|
|
||||||
web:
|
|
||||||
source: "https://github.com/carp-lang/Carp"
|
|
||||||
category: general
|
|
||||||
mode: interpreted
|
|
||||||
platform: []
|
|
||||||
syntax: lisp
|
|
||||||
typing: static
|
|
||||||
paradigm:
|
|
||||||
- functional
|
|
||||||
- imperative
|
|
||||||
usage: []
|
|
||||||
|
|
||||||
install:
|
|
||||||
manual: |
|
|
||||||
install -d "${pkg}/opt/carp"
|
|
||||||
install -d "${pkg}/usr/local/bin"
|
|
||||||
|
|
||||||
ver="$(curl -sSL "https://api.github.com/repos/carp-lang/Carp/releases" | jq '.[].tag_name' -r | grep Linux | sort -rV | grep -Eo '[0-9.]+' | head -n1)"
|
|
||||||
wget "https://github.com/carp-lang/Carp/releases/download/v${ver}_Linux/v${ver}.zip" -O carp.zip
|
|
||||||
unzip carp.zip
|
|
||||||
mv "v${ver}/bin"/* "${pkg}/usr/local/bin/"
|
|
||||||
mv "v${ver}/core" "${pkg}/opt/carp/"
|
|
||||||
|
|
||||||
repl: |
|
|
||||||
CARP_DIR=/opt/carp carp
|
|
||||||
input: |
|
|
||||||
(* 123 234)
|
|
||||||
|
|
||||||
main: "main.carp"
|
|
||||||
template: |
|
|
||||||
(use IO)
|
|
||||||
|
|
||||||
(println "Hello, world!")
|
|
||||||
|
|
||||||
run: |
|
|
||||||
CARP_DIR=/opt/carp carp main.carp
|
|
||||||
|
|
||||||
scope:
|
|
||||||
code: |
|
|
||||||
(def x (* 123 234))
|
|
||||||
|
|
||||||
timeoutFactor: 8
|
|
|
@ -36,3 +36,5 @@ template: |
|
||||||
run: |
|
run: |
|
||||||
JAVA_OPTS="-Duser.home=$PWD" kotlinc -script main.kts
|
JAVA_OPTS="-Duser.home=$PWD" kotlinc -script main.kts
|
||||||
kotlinc
|
kotlinc
|
||||||
|
|
||||||
|
timeoutFactor: 2
|
||||||
|
|
|
@ -69,4 +69,4 @@ template: |
|
||||||
run: |
|
run: |
|
||||||
if spago build -n; then spago run -n; (echo 'import Prelude'; echo 'import Main') > .purs-repl; spago repl; else echo 'import Prelude' > .purs-repl; spago repl -d; fi
|
if spago build -n; then spago run -n; (echo 'import Prelude'; echo 'import Main') > .purs-repl; spago repl; else echo 'import Prelude' > .purs-repl; spago repl -d; fi
|
||||||
|
|
||||||
timeoutFactor: 2
|
timeoutFactor: 8
|
||||||
|
|
|
@ -90,3 +90,6 @@ lsp:
|
||||||
InterpreterPath: /usr/bin/python3
|
InterpreterPath: /usr/bin/python3
|
||||||
code: "import func"
|
code: "import func"
|
||||||
item: "functools"
|
item: "functools"
|
||||||
|
|
||||||
|
skip:
|
||||||
|
- lsp
|
||||||
|
|
|
@ -60,3 +60,5 @@ template: |
|
||||||
|
|
||||||
run: |
|
run: |
|
||||||
dotnet run --project main
|
dotnet run --project main
|
||||||
|
|
||||||
|
timeoutFactor: 4
|
||||||
|
|
|
@ -23,7 +23,7 @@ setup: |
|
||||||
repl: |
|
repl: |
|
||||||
"$(which red)"
|
"$(which red)"
|
||||||
input: |
|
input: |
|
||||||
DELAY: 1
|
DELAY: 5
|
||||||
123 * 234
|
123 * 234
|
||||||
|
|
||||||
main: "main.red"
|
main: "main.red"
|
||||||
|
|
|
@ -7,6 +7,9 @@ install:
|
||||||
|
|
||||||
repl: |
|
repl: |
|
||||||
scala
|
scala
|
||||||
|
input: |
|
||||||
|
DELAY: 5
|
||||||
|
123 * 234
|
||||||
|
|
||||||
main: "main.scala"
|
main: "main.scala"
|
||||||
template: |
|
template: |
|
||||||
|
@ -18,3 +21,5 @@ run: |
|
||||||
scope:
|
scope:
|
||||||
code: |
|
code: |
|
||||||
val x = 123 * 234
|
val x = 123 * 234
|
||||||
|
|
||||||
|
timeoutFactor: 2
|
||||||
|
|
|
@ -63,11 +63,11 @@ scope:
|
||||||
code: |
|
code: |
|
||||||
x = 123 * 234
|
x = 123 * 234
|
||||||
input: |
|
input: |
|
||||||
DELAY: 5
|
DELAY: 15
|
||||||
load main.u
|
load main.u
|
||||||
DELAY: 5
|
DELAY: 5
|
||||||
add x
|
add x
|
||||||
DELAY: 5
|
DELAY: 5
|
||||||
display x
|
display x
|
||||||
|
|
||||||
timeoutFactor: 2
|
timeoutFactor: 4
|
||||||
|
|
|
@ -35,7 +35,7 @@ variable "supervisor_access_token" {
|
||||||
|
|
||||||
data "amazon-ami" "ubuntu" {
|
data "amazon-ami" "ubuntu" {
|
||||||
filters = {
|
filters = {
|
||||||
name = "ubuntu/images/hvm-ssd/ubuntu-*-21.10-amd64-server-*"
|
name = "ubuntu/images/hvm-ssd/ubuntu-*-21.04-amd64-server-*"
|
||||||
root-device-type = "ebs"
|
root-device-type = "ebs"
|
||||||
virtualization-type = "hvm"
|
virtualization-type = "hvm"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue