Skip to content

Commit

Permalink
Disable Gradle scan, and Gradle daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
nomisRev committed Jan 5, 2022
1 parent 1ab255e commit 2c8b45b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/generate-alpha-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main

env:
GRADLE_OPTS: -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xmx5g -XX:+UseParallelGC -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8"
GRADLE_OPTS: -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xmx5g -XX:+UseParallelGC -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8"

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ on:
- 'auto'

env:
GRADLE_OPTS: -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xmx5g -XX:+UseParallelGC -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8"
GRADLE_OPTS: -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xmx5g -XX:+UseParallelGC -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8"

jobs:
build:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

env:
BASEDIR: ${{github.workspace}}/arrow-libs
GRADLE_OPTS: -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xmx5g -XX:+UseParallelGC -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8"
GRADLE_OPTS: -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xmx5g -XX:+UseParallelGC -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8"
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
SONATYPE_PWD: ${{ secrets.SONATYPE_PWD }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.ORG_GRADLE_PROJECT_signingKey }}
Expand Down Expand Up @@ -48,19 +48,19 @@ jobs:
uses: gradle/gradle-build-action@v2.1.0
if: matrix.os == 'macos-latest'
with:
arguments: --full-stacktrace --scan appleTest
arguments: --full-stacktrace appleTest

- name: Ubuntu build
uses: gradle/gradle-build-action@v2.1.0
if: matrix.os == 'ubuntu-latest'
with:
arguments: --full-stacktrace --scan build
arguments: --full-stacktrace build

- name: mingwX64Test
uses: gradle/gradle-build-action@v2.1.0
if: matrix.os == 'windows-latest'
with:
arguments: --full-stacktrace --scan mingwX64Test
arguments: --full-stacktrace mingwX64Test

- id: get-arrow-version
name: Get Arrow version
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "pull_request"
on: pull_request

env:
GRADLE_OPTS: -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xmx5g -XX:+UseParallelGC -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8"
GRADLE_OPTS: -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xmx5g -XX:+UseParallelGC -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8"

jobs:
build:
Expand All @@ -29,19 +29,19 @@ jobs:
uses: gradle/gradle-build-action@v2.1.0
if: matrix.os == 'macos-latest'
with:
arguments: --full-stacktrace --scan appleTest
arguments: --full-stacktrace appleTest

- name: Ubuntu build
uses: gradle/gradle-build-action@v2.1.0
if: matrix.os == 'ubuntu-latest'
with:
arguments: --full-stacktrace --scan build
arguments: --full-stacktrace build

- name: mingwX64Test
uses: gradle/gradle-build-action@v2.1.0
if: matrix.os == 'windows-latest'
with:
arguments: --full-stacktrace --scan mingwX64Test
arguments: --full-stacktrace mingwX64Test

- name: Upload reports
uses: actions/upload-artifact@v2.3.1
Expand Down

0 comments on commit 2c8b45b

Please sign in to comment.