Skip to content

Commit

Permalink
Fix failing CI tests and builds due to missing jemalloc
Browse files Browse the repository at this point in the history
  • Loading branch information
omerfirmak authored and wojciechos committed Feb 17, 2024
1 parent 2a9c024 commit c2a04da
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ jobs:

- name: Install dependencies (Ubuntu or self-hosted)
if: runner.os == 'Linux'
run: sudo apt-get update -qq && sudo apt-get install -y upx-ucl build-essential cargo git golang
run: sudo apt-get update -qq && sudo apt-get install -y upx-ucl build-essential cargo git golang libjemalloc-dev libjemalloc2 -y

- name: Install dependencies (macOS)
if: runner.os == 'macOS'
run: brew install upx cargo-c
run: brew install upx cargo-c jemalloc

- name: Set up Go
uses: actions/[email protected]
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/juno-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
with:
go-version-file: go.mod
cache: false
- name: Install Jemalloc (Ubuntu or self-hosted)
run: sudo apt-get update -qq && sudo apt-get install -y libjemalloc-dev libjemalloc2 -y
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/juno-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ jobs:
core/rust
- name: Install deps
run: make install-deps
- name: Install Jemalloc (Ubuntu or self-hosted)
if: runner.os == 'Linux'
run: sudo apt-get update -qq && sudo apt-get install -y libjemalloc-dev libjemalloc2 -y
- name: Install dependencies (macOS)
if: runner.os == 'macOS'
run: brew install jemalloc
- name: Tests
run: make test-cover
- name: Benchmark
Expand Down

0 comments on commit c2a04da

Please sign in to comment.