-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (26 loc) · 912 Bytes
/
erlang.yml
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
name: Erlang CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
container:
image: erlang:22.0.7
steps:
- uses: actions/checkout@v3
- name: Compile
run: rebar3 compile
#- name: Run tests
# run: rebar3 do eunit, ct
- name: List project dir
run: ls -al
- name: List .beam files
run: ls -al ./reverse_polish_notation_evaluator/_build/default/lib/reverse_polish_notation_evaluator/ebin
- name: Run reverse_polish_notation_evaluator
#run: erl -noshell -pa reverse_polish_notation_evaluator/_build/default/lib/reverse_polish_notation_evaluator/ebin -s reverse_polish_notation_evaluator start -s init stop
run: erl -noshell -eval 'code:load_file(reverse_polish_notation_evaluator), reverse_polish_notation_evaluator:start(), init:stop().'