robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
20f44076dc
master
1name : wasm 2on : 3push : 4branches : 5- 'master' 6- 'release-[0-9]+.[0-9]+' 7pull_request : 8branches : 9- 'master' 10- 'release-[0-9]+.[0-9]+' 11workflow_dispatch : 12 13permissions : 14contents : read 15 16concurrency : 17group : ${{ github.workflow }}-${{ github.ref }} 18cancel-in-progress : ${{ github.event_name == 'pull_request' }} 19 20env : 21ASAN_OPTIONS : detect_leaks=1:check_initialization_order=1:log_path=${{ github.workspace }}/build/log/asan:intercept_tls_get_addr=0 22BIN_DIR : ${{ github.workspace }}/bin 23BUILD_DIR : ${{ github.workspace }}/build 24INSTALL_PREFIX : ${{ github.workspace }}/nvim-install 25LOG_DIR : ${{ github.workspace }}/build/log 26NVIM_LOG_FILE : ${{ github.workspace }}/build/nvim.log 27TSAN_OPTIONS : log_path=${{ github.workspace }}/build/log/tsan 28VALGRIND_LOG : ${{ github.workspace }}/build/log/valgrind-%p.log 29# TEST_FILE: test/functional/core/startup_spec.lua 30# TEST_FILTER: foo 31 32jobs : 33wasmtime : 34runs-on : ubuntu-latest 35timeout-minutes : 45 36steps : 37- uses : actions/checkout@v7.0.1 38with : 39persist-credentials : false 40- uses : ./.github/actions/setup 41with : 42install_flags : "--test" 43- name : Build 44run : | 45cmake -S cmake.deps --preset ci -D ENABLE_WASMTIME=ON -D USE_BUNDLED_TS_PARSERS=ON 46cmake --build .deps 47cmake --preset ci -D ENABLE_WASMTIME=ON 48cmake --build build 49- name : functionaltest 50timeout-minutes : 10 51env : 52TEST_FILE : test/functional/treesitter/wasm_spec.lua 53run : cmake --build build --target functionaltest