feat: Update to libclang 20 and support C Blocks extension #17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Testing LLVM on Ubuntu | |
| on: | |
| push: | |
| branches: [ "testing", "main", "deno.json" ] | |
| paths: | |
| - ".github/workflows/testUbuntu.yml" | |
| - "build/**" | |
| - "lib/**" | |
| - "test/**" | |
| pull_request: | |
| branches: [ "testing", "main", "deno.json" ] | |
| paths: | |
| - ".github/workflows/testUbuntu.yml" | |
| - "build/**" | |
| - "lib/**" | |
| - "test/**" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: denoland/setup-deno@v1 | |
| with: | |
| deno-version: 1.44.0 | |
| - name: Uninstall old LLVM | |
| run: | | |
| sudo apt-get remove -y libclang* | |
| - name: Install LLVM | |
| run: | | |
| sudo apt-get install -y libclang1-14 | |
| - name: test | |
| run: | | |
| export LIBCLANG_PATH=/usr/lib/llvm-14/lib | |
| export TEST_DIR=$LIBCLANG_PATH | |
| export TEST_PATH=$TEST_DIR/libclang-14.so.1 | |
| deno task test |