Skip to content

.gitignore

.gitignore #35

Workflow file for this run

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().'