Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
tibordp committed Oct 3, 2024
1 parent 339b36e commit 51ee3b5
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ jobs:
cd libbacktrace
./configure
make -j8
make install
sudo make install
- name: Run all tests
timeout-minutes: 10
run: make test -j8

tests-musl:
name: Build and test (base only) (alpine)
name: Build and test (alpine)
runs-on: ubuntu-latest
container:
image: alpine:latest
Expand All @@ -74,7 +74,7 @@ jobs:
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Install Tree-sitter
run: npm install -g tree-sitter-cli
run: cargo install tree-sitter-cli

- name: Install libbacktrace
run: |
Expand Down Expand Up @@ -109,8 +109,9 @@ jobs:
npm install -g tree-sitter-cli
curl -fsSL https://github.com/tree-sitter/tree-sitter/archive/refs/tags/v0.23.0.tar.gz | tar -xz
cd tree-sitter-*
make install
ldconfig
make
sudo make install
sudo ldconfig
- name: Build full
run: make dist-check -j8
Expand Down Expand Up @@ -139,16 +140,17 @@ jobs:
run: |
wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
./llvm.sh 18
apt-get install -y llvm-18 llvm-18-dev clang-tools-18
sudo ./llvm.sh 18
sudo apt-get install -y llvm-18 llvm-18-dev clang-tools-18
- 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.23.0.tar.gz | tar -xz
cd tree-sitter-*
make install
ldconfig
make
sudo make install
sudo ldconfig
- name: Install rustfilt
run: cargo install rustfilt
Expand Down

0 comments on commit 51ee3b5

Please sign in to comment.