robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

dependabot[bot]ci: bump actions/checkout in the github-actions group across 1 directory20f44076dc

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