yml changes #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
run: ls -al ./reverse_polish_notation_evaluator | |
- 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 |