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

AVRO-3933: Unify ARM64 workflows #2722

Draft
wants to merge 17 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
52 changes: 0 additions & 52 deletions .github/workflows/test-lang-c++-ARM.yml

This file was deleted.

9 changes: 7 additions & 2 deletions .github/workflows/test-lang-c++.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,17 @@ concurrency:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, ["self-hosted", "asf-arm"]]
steps:
- uses: actions/checkout@v4

- name: Install Dependencies
run: sudo apt update && sudo apt-get install -qqy cppcheck libboost-all-dev libsnappy-dev cmake
run: |
sudo apt-get update -qq
sudo apt-get install -qqy gcc g++ cppcheck libboost-all-dev libsnappy-dev cmake

- name: Clean
run: ./build.sh clean
Expand Down
52 changes: 0 additions & 52 deletions .github/workflows/test-lang-c-ARM.yml

This file was deleted.

55 changes: 11 additions & 44 deletions .github/workflows/test-lang-c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,17 @@ concurrency:

jobs:
test:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, ["self-hosted", "asf-arm"]]
steps:
- uses: actions/checkout@v4

- name: Install Dependencies
run: sudo apt-get install -qqy libjansson-dev libsnappy-dev
run: |
sudo apt-get update -qq
sudo apt-get install -qqy cmake liblzma-dev libsnappy-dev libjansson-dev zlib1g-dev pkg-config

- name: Lint
run: ./build.sh lint
Expand All @@ -55,49 +60,11 @@ jobs:
export PKG_CONFIG_PATH=./src
pkg-config --libs avro-c

- name: Cache Local Maven Repository
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-

- name: 'Setup Temurin JDK 8, 11, 17 & 21'
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4.0.0
with:
distribution: 'temurin'
java-version: |
8
11
17
21

- name: 'Setup Maven 3.9.6'
uses: stCarolas/setup-maven@07fbbe97d97ef44336b7382563d66743297e442f # v4.5
with:
maven-version: 3.9.6

- name: Install Java Avro for Interop Test
working-directory: .
run: mvn -B install -PskipQuality

- name: Create Interop Data Directory
working-directory: .
run: mkdir -p build/interop/data

- name: Generate Interop Resources
working-directory: lang/java/avro
run: mvn -B -P interop-data-generate generate-resources

- name: Generate Interop Data
run: ./build.sh interop-data-generate

- name: Run Interop Tests
run: ./build.sh interop-data-test

interop:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v4

Expand Down
160 changes: 0 additions & 160 deletions .github/workflows/test-lang-csharp-ARM.yml

This file was deleted.