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

sets metaspace explicitly after gradle reset a la https://github.com/… #93

Merged
merged 4 commits into from
Mar 1, 2024
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
6 changes: 6 additions & 0 deletions .github/workflows/acceptance-tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: acceptance-tests

Check failure on line 1 in .github/workflows/acceptance-tests.yml

View workflow job for this annotation

GitHub Actions / Acceptance Runner (3)

.github/workflows/acceptance-tests.yml#L1

This run was manually canceled.

Check failure on line 1 in .github/workflows/acceptance-tests.yml

View workflow job for this annotation

GitHub Actions / Acceptance Runner (6)

.github/workflows/acceptance-tests.yml#L1

This run was manually canceled.

Check failure on line 1 in .github/workflows/acceptance-tests.yml

View workflow job for this annotation

GitHub Actions / Acceptance Runner (8)

.github/workflows/acceptance-tests.yml#L1

This run was manually canceled.

Check failure on line 1 in .github/workflows/acceptance-tests.yml

View workflow job for this annotation

GitHub Actions / Acceptance Runner (10)

.github/workflows/acceptance-tests.yml#L1

This run was manually canceled.

Check failure on line 1 in .github/workflows/acceptance-tests.yml

View workflow job for this annotation

GitHub Actions / Acceptance Runner (11)

.github/workflows/acceptance-tests.yml#L1

This run was manually canceled.

Check failure on line 1 in .github/workflows/acceptance-tests.yml

View workflow job for this annotation

GitHub Actions / Acceptance Runner (13)

.github/workflows/acceptance-tests.yml#L1

This run was manually canceled.

Check failure on line 1 in .github/workflows/acceptance-tests.yml

View workflow job for this annotation

GitHub Actions / Acceptance Runner (14)

.github/workflows/acceptance-tests.yml#L1

This run was manually canceled.

Check failure on line 1 in .github/workflows/acceptance-tests.yml

View workflow job for this annotation

GitHub Actions / Acceptance Runner (15)

.github/workflows/acceptance-tests.yml#L1

This run was manually canceled.
on:
workflow_dispatch:
pull_request_target:
Expand Down Expand Up @@ -26,9 +26,14 @@
env:
# fun fact, this changes based on incoming event, it will be different when we run this on pushes to main
RELEVANT_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
EVENT_NAME: ${{ github.event_name }}
with:
script: |
const { RELEVANT_SHA } = process.env;
const { EVENT_NAME } = process.env;
if(EVENT_NAME === 'workflow_dispatch') {
return true;
}
const { data: { statuses } } = await github.rest.repos.getCombinedStatusForRef({
owner: context.repo.owner,
repo: context.repo.repo,
Expand All @@ -49,6 +54,7 @@
console.log("approvingReviews = %j", approvingReviews.length);

return shouldRun;

acceptanceTestEthereum:
runs-on: ubuntu-22.04
name: "Acceptance Runner"
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ version=24.2.0-SNAPSHOT
org.gradle.welcome=never
# Set exports/opens flags required by Google Java Format and ErrorProne plugins. (JEP-396)
org.gradle.jvmargs=-Xmx4g \
-XX:MaxMetaspaceSize=256m \
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
--add-exports jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED \
Expand Down
Loading