File tree Expand file tree Collapse file tree 4 files changed +18
-6
lines changed
src/platforms/generic_unix Expand file tree Collapse file tree 4 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 8383 working-directory : build
8484 run : |
8585 ./src/AtomVM ./tests/libs/alisp/test_alisp.avm
86+
87+ - name : " Install and smoke test"
88+ working-directory : build
89+ run : |
90+ export PATH="/usr/local/opt/erlang@${{ matrix.otp }}/bin:$PATH"
91+ sudo ninja install
92+ atomvm examples/erlang/hello_world.avm
Original file line number Diff line number Diff line change @@ -258,3 +258,9 @@ jobs:
258258 run : |
259259 ./src/AtomVM ./tests/libs/alisp/test_alisp.avm
260260 valgrind ./src/AtomVM ./tests/libs/alisp/test_alisp.avm
261+
262+ - name : " Install and smoke test"
263+ working-directory : build
264+ run : |
265+ sudo PATH=${PATH} make install
266+ atomvm examples/erlang/hello_world.avm
Original file line number Diff line number Diff line change @@ -58,3 +58,8 @@ if (COVERAGE)
5858endif ()
5959
6060install (TARGETS AtomVM DESTINATION lib/atomvm)
61+ install (
62+ FILES ${CMAKE_CURRENT_SOURCE_DIR} /atomvm
63+ DESTINATION bin
64+ PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
65+ )
Original file line number Diff line number Diff line change @@ -61,12 +61,6 @@ endif()
6161target_compile_definitions (libAtomVM${PLATFORM_LIB_SUFFIX} PUBLIC DYNLOAD_PORT_DRIVERS)
6262target_link_libraries (libAtomVM${PLATFORM_LIB_SUFFIX} PUBLIC ${CMAKE_DL_LIBS} )
6363
64- install (
65- FILES ${CMAKE_CURRENT_SOURCE_DIR} /atomvm
66- DESTINATION bin
67- PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
68- )
69-
7064if (COVERAGE)
7165 include (CodeCoverage)
7266 append_coverage_compiler_flags_to_target(libAtomVM${PLATFORM_LIB_SUFFIX} )
You can’t perform that action at this time.
0 commit comments