Skip to content

Commit

Permalink
Add more matrixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoltan Csizmadia authored and Zoltan Csizmadia committed Feb 1, 2024
1 parent 9e26508 commit 7dd1850
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 288 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-lang-c++.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:

- name: Install Dependencies
run: |
sudo apt-get update -q
sudo apt update && sudo apt-get install -qqy gcc g++ cppcheck libboost-all-dev libsnappy-dev cmake
sudo apt-get update -qq
sudo sudo apt-get install -qqy gcc g++ cppcheck libboost-all-dev libsnappy-dev cmake
- name: Clean
run: ./build.sh clean
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-lang-c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:

- 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
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 Down
7 changes: 3 additions & 4 deletions .github/workflows/test-lang-csharp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,13 @@ jobs:
- uses: actions/checkout@v4

- name: Install packages
shell: bash
run: |
sudo apt-get update -q
sudo apt-get install -q -y libzstd-dev libicu-dev
sudo apt-get update -qq
sudo apt-get install -qqy libzstd-dev libicu-dev
# On the hosted ARM runner, we need to create the dotnet directory and change the owner to the current user
- if: matrix.os != 'ubuntu-latest'
name: Install dependencies for ${{ matrix.os }}
name: Install dependencies
run: |
sudo mkdir -p /usr/share/dotnet
sudo chown -R $(id -u):$(id -g) /usr/share/dotnet
Expand Down
157 changes: 0 additions & 157 deletions .github/workflows/test-lang-perl-ARM.yml

This file was deleted.

4 changes: 3 additions & 1 deletion .github/workflows/test-lang-perl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ concurrency:
jobs:
test:
name: Perl ${{ matrix.perl }} Tests
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, ["self-hosted", "asf-arm"]]
perl:
- '5.32'
steps:
Expand All @@ -49,6 +50,7 @@ jobs:

- name: Install Dependencies
run: |
sudo apt-get update -qq
sudo apt-get -qqy install --no-install-recommends libjansson-dev \
libcompress-raw-zlib-perl \
libcpan-uploader-perl \
Expand Down
58 changes: 0 additions & 58 deletions .github/workflows/test-lang-php-ARM.yml

This file was deleted.

3 changes: 2 additions & 1 deletion .github/workflows/test-lang-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ concurrency:
jobs:
test:
name: PHP ${{ matrix.php }} Test
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, ["self-hosted", "asf-arm"]]
php:
- '7.3'
- '7.4'
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test-lang-py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,11 @@ concurrency:
jobs:
test:
name: Python ${{ matrix.python }} Tests
runs-on: ubuntu-20.04
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, ["self-hosted", "asf-arm"]]
python:
- '3.11'
- '3.10'
Expand All @@ -60,6 +61,7 @@ jobs:

- name: Apt Install Compression Libs
run: |
sudo apt-get update -qq
sudo apt-get install -qqy --no-install-recommends libbz2-dev \
libjansson-dev \
liblzma-dev \
Expand Down
60 changes: 0 additions & 60 deletions .github/workflows/test-lang-ruby-ARM.yml

This file was deleted.

7 changes: 5 additions & 2 deletions .github/workflows/test-lang-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@ concurrency:
jobs:
test:
name: Ruby ${{ matrix.ruby }} Tests
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, ["self-hosted", "asf-arm"]]
ruby:
- '2.7'
- '3.0'
Expand All @@ -52,7 +53,9 @@ jobs:
ruby-version: ${{ matrix.ruby }}

- name: Install Dependencies
run: sudo apt-get install -qqy libsnappy-dev
run: |
sudo apt-get update -qq
sudo apt-get install -qqy bundler libsnappy-dev libyaml-dev
- uses: actions/cache@v4
with:
Expand Down

0 comments on commit 7dd1850

Please sign in to comment.