Skip to content

Commit

Permalink
update to fix glibc issues
Browse files Browse the repository at this point in the history
Signed-off-by: vikhy-aws <[email protected]>
  • Loading branch information
vikhy-aws committed Feb 4, 2025
1 parent 985225b commit 3cba1cd
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/notifications-test-and-build-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,25 @@ jobs:
fail-fast: false
matrix:
java: [21, 23]
os:
- ubuntu-24.04-arm # arm64-preview
- ubuntu-24.04 # x64


# Job name
name: Build Notifications with JDK ${{ matrix.java }} on linux
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
container:
# using the same image which is used by opensearch-build team to build the OpenSearch Distribution
# this image tag is subject to change as more dependencies and updates will arrive over time
image: ${{ needs.Get-CI-Image-Tag.outputs.ci-image-version-linux }}
# need to switch to root so that github actions can install runner binary on container without permission issues.
options: --user root
options: ${{ needs.Get-CI-Image-Tag.outputs.ci-image-start-options }}

steps:
- name: Run start commands
run: ${{ needs.Get-CI-Image-Tag.outputs.ci-image-start-command }}

- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
Expand All @@ -43,7 +50,7 @@ jobs:

# notifications
- name: Checkout Notifications
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Build with Gradle
run: |
Expand Down Expand Up @@ -108,7 +115,7 @@ jobs:

# notifications
- name: Checkout Notifications
uses: actions/checkout@v2
uses: actions/checkout@v4

# This is a hack, but this step creates a link to the X: mounted drive, which makes the path
# short enough to work on Windows
Expand Down

0 comments on commit 3cba1cd

Please sign in to comment.