Skip to content

Commit

Permalink
Build linux with no debug symbols for GA runner build
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Leonard <[email protected]>
  • Loading branch information
andrew-m-leonard committed Feb 16, 2024
1 parent 7270084 commit 51743cb
Showing 1 changed file with 1 addition and 27 deletions.
28 changes: 1 addition & 27 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,33 +64,6 @@ jobs:
variant: bisheng
image: adoptopenjdk/centos7_build_image
steps:
- name: Prune gcc folders not used for jdk8u and jdk11u (uses gcc (7.5)) to make disk space on runner
if: matrix.version == 'jdk8u' || matrix.version == 'jdk11u'
run: |
df -h
rm -r /usr/local/gcc9
rm -r /usr/local/gcc10
rm -r /usr/local/gcc11
df -h
- name: Prune gcc folders not used for jdk17u (uses gcc10) to make disk space on runner
if: matrix.version == 'jdk17u'
run: |
df -h
rm -rf /usr/local/gcc
rm -rf /usr/local/gcc9
rm -rf /usr/local/gcc11
df -h
- name: Prune gcc folders not used for jdk(head) (uses gcc11) to make disk space on runner
if: matrix.version == 'jdk'
run: |
df -h
rm -rf /usr/local/gcc
rm -rf /usr/local/gcc9
rm -rf /usr/local/gcc10
df -h
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0

- name: Build Linux
Expand All @@ -104,6 +77,7 @@ jobs:
# Don't set the OS as we use both linux and alpine-linux
PLATFORM_CONFIG_LOCATION: AdoptOpenJDK/openjdk-build/master/build-farm/platform-specific-configurations
BUILD_ARGS: --create-sbom
CONFIGURE_ARGS: --with_native_debug_symbols=none

- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
name: Collect and Archive Artifacts
Expand Down

0 comments on commit 51743cb

Please sign in to comment.