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_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
|
||||
deb https://deb.nodesource.com/${node_repo} ${ubuntu_name} main
|
||||
|
|
|
@ -16,13 +16,13 @@ install:
|
|||
cargo install llvmenv
|
||||
llvmenv init
|
||||
# If compiler is not explicitly set to LLVM, then we get an
|
||||
# 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
|
||||
llvmenv global 10.0.0
|
||||
# error: unrecognized command-line option '-Wnewline-eof'.
|
||||
CC=/usr/bin/clang CXX=/usr/bin/clang++ llvmenv build-entry -G Makefile -j$(nproc) 10.0.1
|
||||
llvmenv global 10.0.1
|
||||
manual: |
|
||||
git clone https://github.com/jfecher/ante.git -n
|
||||
pushd ante
|
||||
git checkout 6e61e9f7ed9300ed68f6b9459b69f027e09a0c42
|
||||
git checkout ba940f3b492fb448a6a73b139403eefa7a0daedc
|
||||
LLVM_SYS_100_PREFIX="$(llvmenv prefix)" cargo build --release
|
||||
install -d "${pkg}/opt/ante"
|
||||
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: |
|
||||
JAVA_OPTS="-Duser.home=$PWD" kotlinc -script main.kts
|
||||
kotlinc
|
||||
|
||||
timeoutFactor: 2
|
||||
|
|
|
@ -69,4 +69,4 @@ template: |
|
|||
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
|
||||
|
||||
timeoutFactor: 2
|
||||
timeoutFactor: 8
|
||||
|
|
|
@ -90,3 +90,6 @@ lsp:
|
|||
InterpreterPath: /usr/bin/python3
|
||||
code: "import func"
|
||||
item: "functools"
|
||||
|
||||
skip:
|
||||
- lsp
|
||||
|
|
|
@ -60,3 +60,5 @@ template: |
|
|||
|
||||
run: |
|
||||
dotnet run --project main
|
||||
|
||||
timeoutFactor: 4
|
||||
|
|
|
@ -23,7 +23,7 @@ setup: |
|
|||
repl: |
|
||||
"$(which red)"
|
||||
input: |
|
||||
DELAY: 1
|
||||
DELAY: 5
|
||||
123 * 234
|
||||
|
||||
main: "main.red"
|
||||
|
|
|
@ -7,6 +7,9 @@ install:
|
|||
|
||||
repl: |
|
||||
scala
|
||||
input: |
|
||||
DELAY: 5
|
||||
123 * 234
|
||||
|
||||
main: "main.scala"
|
||||
template: |
|
||||
|
@ -18,3 +21,5 @@ run: |
|
|||
scope:
|
||||
code: |
|
||||
val x = 123 * 234
|
||||
|
||||
timeoutFactor: 2
|
||||
|
|
|
@ -63,11 +63,11 @@ scope:
|
|||
code: |
|
||||
x = 123 * 234
|
||||
input: |
|
||||
DELAY: 5
|
||||
DELAY: 15
|
||||
load main.u
|
||||
DELAY: 5
|
||||
add x
|
||||
DELAY: 5
|
||||
display x
|
||||
|
||||
timeoutFactor: 2
|
||||
timeoutFactor: 4
|
||||
|
|
|
@ -35,7 +35,7 @@ variable "supervisor_access_token" {
|
|||
|
||||
data "amazon-ami" "ubuntu" {
|
||||
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"
|
||||
virtualization-type = "hvm"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue