File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,25 +17,15 @@ jobs:
1717 fail-fast : true
1818
1919 steps :
20-
21- - uses : erlef/setup-beam@v1
22- with :
23- otp-version : " 24"
24- elixir-version : " 1.11"
25-
26- - name : Checkout repo
27- uses : actions/checkout@v2
28-
29- # - name: "APT update"
30- # run: sudo apt update -y
31-
32- - name : " Build rebar3"
33- run : |
34- cd /tmp
35- git clone https://github.com/erlang/rebar3.git
36- cd rebar3
37- ./bootstrap
38-
39- - name : " Build Erlang Example Programs"
40- run : |
41- PATH=/tmp/rebar3:$PATH ./build.sh
20+ - uses : erlef/setup-beam@v1
21+ with :
22+ otp-version : " 26"
23+ elixir-version : " 1.18"
24+ rebar3-version : " 3.24.0"
25+
26+ - name : Checkout repo
27+ uses : actions/checkout@v4
28+
29+ - name : " Build Erlang/Elixir Example Programs"
30+ run : |
31+ ./build.sh
Original file line number Diff line number Diff line change 1414 test :
1515 runs-on : ubuntu-latest
1616 steps :
17- - uses : actions/checkout@v3
18- - name : REUSE Compliance Check
19- uses : fsfe/reuse-action@v1
17+ - uses : actions/checkout@v4
18+ - name : REUSE Compliance Check
19+ uses : fsfe/reuse-action@v1
Original file line number Diff line number Diff line change @@ -28,3 +28,12 @@ for i in ${ERLANG_EXAMPLES}; do
2828 ${REBAR} atomvm packbeam -l || exit 1
2929 cd ..
3030done
31+ cd ..
32+ cd elixir
33+ ELIXIR_EXAMPLES=" $( /bin/ls | grep -v README.md) "
34+ for i in ${ELIXIR_EXAMPLES} ; do
35+ cd $i
36+ rm -rf _build
37+ mix deps.get && mix atomvm.packbeam || exit 1
38+ cd ..
39+ done
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ defmodule LedcExample.MixProject do
2323
2424 def project do
2525 [
26+ app: :LedcExample ,
2627 version: "0.1.0" ,
2728 elixir: "~> 1.13" ,
2829 start_permanent: Mix . env ( ) == :prod ,
You can’t perform that action at this time.
0 commit comments