diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/test-queries.yml | 27 | ||||
| -rw-r--r-- | .github/workflows/tests.yml | 14 |
2 files changed, 5 insertions, 36 deletions
diff --git a/.github/workflows/test-queries.yml b/.github/workflows/test-queries.yml index 3b1717791..819924c43 100644 --- a/.github/workflows/test-queries.yml +++ b/.github/workflows/test-queries.yml @@ -23,34 +23,11 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-14] - cc: [gcc, clang] nvim_tag: [nightly] - exclude: - - os: ubuntu-latest - cc: clang - nvim_tag: nightly - - - os: macos-14 - cc: gcc - nvim_tag: nightly - - - os: windows-latest - cc: gcc - nvim_tag: nightly - - # include: - # - os: windows-latest - # cc: cl - # nvim_tag: nightly - - # - os: ubuntu-latest - # cc: gcc - # nvim_tag: nightly name: Parser compilation runs-on: ${{ matrix.os }} env: - CC: ${{ matrix.cc }} NVIM: ${{ matrix.os == 'windows-latest' && 'nvim-win64\\bin\\nvim.exe' || 'nvim' }} steps: - uses: actions/checkout@v4 @@ -71,10 +48,8 @@ jobs: ~/.local/share/nvim/site/parser/ ~/AppData/Local/nvim-data/site/parser/ key: parsers-${{ join(matrix.*, '-') }}-${{ hashFiles( - './lockfile.json', './lua/nvim-treesitter/install.lua', - './lua/nvim-treesitter/parsers.lua', - './lua/nvim-treesitter/shell_command_selectors.lua') }} + './lua/nvim-treesitter/parsers.lua') }} - name: Compile parsers run: $NVIM -l ./scripts/install-parsers.lua diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f78afe711..7a946377c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,12 +20,9 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - cc: [gcc] name: Run tests runs-on: ${{ matrix.os }} - env: - CC: ${{ matrix.cc }} steps: - uses: actions/checkout@v4 - uses: tree-sitter/setup-action/cli@v1 @@ -50,16 +47,13 @@ jobs: uses: actions/cache@v4 with: path: | - ./parser/ - ~/AppData/Local/nvim/pack/nvim-treesitter/start/nvim-treesitter/parser/ + ~/.local/share/nvim/site/parser/ + ~/AppData/Local/nvim-data/site/parser/ key: parsers-${{ join(matrix.*, '-') }}-${{ hashFiles( - './lockfile.json', './lua/nvim-treesitter/install.lua', - './lua/nvim-treesitter/parsers.lua', - './lua/nvim-treesitter/shell_selectors.lua') }} + './lua/nvim-treesitter/parsers.lua') }} - - name: Compile parsers Unix like - if: ${{ runner.os != 'Windows' && steps.parsers-cache.outputs.cache-hit != 'true' }} + - name: Compile parsers run: nvim -l ./scripts/install-parsers.lua - name: Tests |
