Skip to content

Commit

Permalink
chore: Upgrade dependencies (#120)
Browse files Browse the repository at this point in the history
* chore: Upgrade dependencies

* upgrade llvm
  • Loading branch information
tibordp authored Nov 23, 2024
1 parent d37bba0 commit 97e5cf3
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 68 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
- name: Install Tree-sitter (with runtime)
run: |
npm install -g tree-sitter-cli
curl -fsSL https://github.com/tree-sitter/tree-sitter/archive/refs/tags/v0.24.2.tar.gz | tar -xz
curl -fsSL https://github.com/tree-sitter/tree-sitter/archive/refs/tags/v0.24.4.tar.gz | tar -xz
cd tree-sitter-*
make
sudo make install
Expand Down Expand Up @@ -140,13 +140,13 @@ jobs:
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh 18
sudo apt-get install -y llvm-18 llvm-18-dev clang-tools-18
sudo ./llvm.sh 19
sudo apt-get install -y llvm-19 llvm-19-dev clang-tools-19
- name: Install Tree-sitter (with runtime)
run: |
npm install -g tree-sitter-cli
curl -fsSL https://github.com/tree-sitter/tree-sitter/archive/refs/tags/v0.24.2.tar.gz | tar -xz
curl -fsSL https://github.com/tree-sitter/tree-sitter/archive/refs/tags/v0.24.4.tar.gz | tar -xz
cd tree-sitter-*
make
sudo make install
Expand All @@ -157,7 +157,7 @@ jobs:

- name: Build dist-check with coverage
timeout-minutes: 10
run: CC=clang-18 LLVM_SUFFIX=-18 make coverage -j8
run: CC=clang-19 LLVM_SUFFIX=-19 make coverage -j8

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install Tree-sitter (with runtime)
run: |
npm install -g tree-sitter-cli
curl -fsSL https://github.com/tree-sitter/tree-sitter/archive/refs/tags/v0.24.2.tar.gz | tar -xz
curl -fsSL https://github.com/tree-sitter/tree-sitter/archive/refs/tags/v0.24.4.tar.gz | tar -xz
cd tree-sitter-*
make -j8
sudo make install
Expand Down
109 changes: 50 additions & 59 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN mkdir -p /etc/apt/keyrings && \
RUN cargo install tree-sitter-cli

WORKDIR /alumina/deps
RUN curl -fsSL https://github.com/tree-sitter/tree-sitter/archive/refs/tags/v0.24.2.tar.gz | tar -xz
RUN curl -fsSL https://github.com/tree-sitter/tree-sitter/archive/refs/tags/v0.24.4.tar.gz | tar -xz
RUN cd tree-sitter-* && make -j8 && make install && ldconfig
RUN curl -fsSL https://github.com/ianlancetaylor/libbacktrace/archive/master.tar.gz | tar -xz
RUN cd libbacktrace-* && ./configure && make -j8 && make install
Expand Down
4 changes: 2 additions & 2 deletions src/alumina-boot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ clap = { version = "4", features = ["derive", "env"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
alumina-boot-macros = { path = "../alumina-boot-macros" }
tree-sitter = "0.24.2"
tree-sitter = "0.24.4"
bumpalo = "3"
thiserror = "1"
thiserror = "2"
indexmap = "2"
once_cell = "1"
colored = "2"
Expand Down

0 comments on commit 97e5cf3

Please sign in to comment.