diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index 5fdc250acd..4ddc807123 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -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/setup-go@v4.1.0 diff --git a/.github/workflows/juno-lint.yml b/.github/workflows/juno-lint.yml index 63bb38bddb..bb24a5fc3b 100644 --- a/.github/workflows/juno-lint.yml +++ b/.github/workflows/juno-lint.yml @@ -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: diff --git a/.github/workflows/juno-test.yml b/.github/workflows/juno-test.yml index 928e232cc1..5787559321 100644 --- a/.github/workflows/juno-test.yml +++ b/.github/workflows/juno-test.yml @@ -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