forked from hanabi1224/Programming-Language-Benchmarks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bench_elixir.yaml
37 lines (37 loc) · 890 Bytes
/
bench_elixir.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
lang: elixir
problems:
- name: helloworld
source:
- 1.ex
- name: coro-prime-sieve
source:
- 1.ex
- name: edigits
source:
- 1.ex
- name: pidigits
source:
- 1.ex
- name: spectral-norm
source:
- 1.ex
# erl -eval '{ok, Version} = file:read_file(filename:join([code:root_dir(), "releases", erlang:system_info(otp_release), "OTP_VERSION"])), io:fwrite(Version), halt().' -noshell
compiler_version_command: elixir --version
compiler_version_regex:
runtime_version_parameter:
runtime_version_regex:
source_rename_to: app.ex
environments:
- os: linux
compiler: elixir
version: latest
docker: elixir
env:
MIX_ENV: prod
include: elixir
include_sub_dir: lib
build: mix local.hex --force && mix deps.get && mix escript.build --overwrite
after_build:
- mv app out
out_dir: out
run_cmd: app