Skip to content

Commit

Permalink
AVRO-3653: Move the ARM64 CI jobs to the test-lang-XYZ.yml files (#2548)
Browse files Browse the repository at this point in the history
There is no need to run builds and tests for all SDKs when only one SDK
is modified

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
  • Loading branch information
martin-g authored Oct 11, 2023
1 parent 911b7af commit 28cdbd8
Show file tree
Hide file tree
Showing 11 changed files with 264 additions and 300 deletions.
300 changes: 0 additions & 300 deletions .github/workflows/test-arm64.yml

This file was deleted.

18 changes: 18 additions & 0 deletions .github/workflows/test-lang-c++.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,21 @@ jobs:
mkdir -p build
cd build
cmake -G "Unix Makefiles" -D CMAKE_BUILD_TYPE=Release ..
arm64:
name: C++ on Linux ARM64
runs-on: ["self-hosted", "asf-arm"]

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install dependencies
run: |
sudo apt-get update -q
sudo apt-get install -q -y gcc g++ libboost-all-dev cmake
- name: Build
run: |
set -x
./build.sh clean test
18 changes: 18 additions & 0 deletions .github/workflows/test-lang-c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,21 @@ jobs:

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

arm64:
name: C on Linux ARM64
runs-on: ["self-hosted", "asf-arm"]

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install dependencies
run: |
sudo apt-get update -q
sudo apt-get install -q -y cmake liblzma-dev libsnappy-dev libjansson-dev zlib1g-dev pkg-config
- name: Build
run: |
set -x
./build.sh clean test
33 changes: 33 additions & 0 deletions .github/workflows/test-lang-csharp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,36 @@ jobs:

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

arm64:
name: C# on Linux ARM64
runs-on: ["self-hosted", "asf-arm"]

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Cache Nuget
uses: actions/cache@v3
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
${{ runner.os }}-nuget-
- name: Install dependencies
run: |
sudo apt-get update -q
sudo apt-get install -q -y wget libzstd-dev libicu-dev
wget https://dot.net/v1/dotnet-install.sh
bash ./dotnet-install.sh --channel "3.1" --install-dir "$HOME/.dotnet" # 3.1
bash ./dotnet-install.sh --channel "5.0" --install-dir "$HOME/.dotnet" # 5.0
bash ./dotnet-install.sh --channel "6.0" --install-dir "$HOME/.dotnet" # 6.0
bash ./dotnet-install.sh --channel "7.0" --install-dir "$HOME/.dotnet" # 7.0
- name: Build
run: |
set -x
export PATH=$HOME/.dotnet:$PATH
dotnet --list-sdks
./build.sh clean test
Loading

0 comments on commit 28cdbd8

Please sign in to comment.