Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ccache settings for benchmarks and int tests #54

Merged
merged 1 commit into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ name: Benchmarks
on:
workflow_call:
inputs:
llvm_build_type:
type: string
description: "LLVM build type: debug | release"
required: false
default: "release"
compiler_tester_reference_branch:
type: string
description: "compiler-tester branch to use as a benchmark reference"
Expand Down Expand Up @@ -38,6 +33,11 @@ on:
description: "Path filter for compiler-llvm benchmarks"
required: false
default: ""
ccache-key:
type: string
description: 'Github Actions cache key for CCache.'
required: false
default: ''
ccache-key-type:
type: string
required: false
Expand Down Expand Up @@ -119,7 +119,9 @@ jobs:
uses: matter-labs/era-compiler-ci/.github/actions/build-llvm@main
with:
clone-llvm: ${{ steps.define-branches.outputs.llvm-branch == '' && 'true' || 'false' }}
enable-assertions: true
enable-assertions: false
build-type: 'Release'
ccache-key: ${{ inputs.ccache-key }}
ccache-key-type: ${{ inputs.ccache-key-type }}

- name: Build compiler-tester
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ on:
required: false
default: ''
description: 'custom solc version to use for integration tests'
ccache-key:
type: string
description: 'Github Actions cache key for CCache.'
required: false
default: ''
ccache-key-type:
type: string
required: false
Expand Down Expand Up @@ -103,7 +108,9 @@ jobs:
with:
enable-tests: true
enable-assertions: true
build-type: 'RelWithDebInfo'
clone-llvm: ${{ inputs.llvm-ref == '' && 'true' || 'false' }}
ccache-key: ${{ inputs.ccache-key }}
ccache-key-type: ${{ inputs.ccache-key-type }}

- name: Integration tests
Expand Down
Loading