Skip to content

Commit

Permalink
Move arm tests to old Ubuntu workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
rikyoz committed Jan 16, 2025
1 parent 9ddd366 commit 1225d68
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 95 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/test_ubuntu22.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ concurrency:

jobs:
build_linux:
runs-on: ubuntu-22.04
runs-on: ${{ matrix.os }}
if: |
!contains(github.event.head_commit.message, '[test-windows]')
&& !contains(github.event.head_commit.message, '[test-macos]')
Expand All @@ -26,12 +26,14 @@ jobs:
fail-fast: false

matrix:
os: [ubuntu-22.04, ubuntu-22.04-arm]
arch: [x64, arm64]
build_type: [Debug, Release]
c_compiler: [gcc-9, gcc-10, gcc-11, gcc-12, clang-13, clang-14, clang-15]
bit7z_auto_format: [OFF, ON]
bit7z_regex_matching: [OFF, ON]
bit7z_link_libcpp: [OFF, ON]
bit7z_7zip_version: [16.02, 22.01, 23.01]
bit7z_7zip_version: [16.02, 22.01]
bit7z_build_for_p7zip: [OFF, ON]
include:
- c_compiler: gcc-9
Expand All @@ -49,6 +51,10 @@ jobs:
- c_compiler: clang-15
cpp_compiler: clang++-15
exclude:
- os: ubuntu-22.04
arch: arm64
- os: ubuntu-22.04-arm
arch: x64
- c_compiler: gcc-9
bit7z_link_libcpp: ON
- c_compiler: gcc-10
Expand All @@ -69,8 +75,6 @@ jobs:
bit7z_7zip_version: 16.02
- bit7z_7zip_version: 16.02
bit7z_build_for_p7zip: OFF
- bit7z_7zip_version: 23.01
bit7z_build_for_p7zip: ON
- bit7z_7zip_version: 22.01
bit7z_build_for_p7zip: ON

Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/test_ubuntu24.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ concurrency:

jobs:
build_linux:
runs-on: ubuntu-24.04
runs-on: ${{ matrix.os }}
if: |
!contains(github.event.head_commit.message, '[test-windows]')
&& !contains(github.event.head_commit.message, '[test-macos]')
Expand All @@ -26,12 +26,14 @@ jobs:
fail-fast: false

matrix:
os: [ubuntu-24.04, ubuntu-24.04-arm]
arch: [x64, arm64]
build_type: [Debug, Release]
c_compiler: [gcc-13, gcc-14, clang-16, clang-17, clang-18]
bit7z_auto_format: [OFF, ON]
bit7z_regex_matching: [OFF, ON]
bit7z_link_libcpp: [OFF, ON]
bit7z_7zip_version: [16.02, 22.01, 23.01, 24.09]
bit7z_7zip_version: [16.02, 23.01, 24.09]
bit7z_build_for_p7zip: [OFF, ON]
include:
- c_compiler: gcc-13
Expand All @@ -45,6 +47,10 @@ jobs:
- c_compiler: clang-18
cpp_compiler: clang++-18
exclude:
- os: ubuntu-24.04
arch: arm64
- os: ubuntu-24.04-arm
arch: x64
- c_compiler: gcc-13
bit7z_link_libcpp: ON
- c_compiler: gcc-14
Expand All @@ -67,7 +73,7 @@ jobs:
bit7z_build_for_p7zip: ON

name: |
Ubuntu, ${{ matrix.c_compiler }}, ${{ matrix.build_type }}, 7-Zip ${{ matrix.bit7z_7zip_version }}${{ (matrix.bit7z_auto_format == 'ON') && ', AUTO_FORMAT' || '' }}${{ (matrix.bit7z_regex_matching == 'ON') && ', REGEX_MATCHING' || '' }}${{ (matrix.bit7z_link_libcpp == 'ON') && ', LINK_LIBCPP' || '' }}${{ (matrix.bit7z_build_for_p7zip == 'ON') && ', BUILD_FOR_P7ZIP' || '' }}
Ubuntu (${{ matrix.arch }}), ${{ matrix.c_compiler }}, ${{ matrix.build_type }}, 7-Zip ${{ matrix.bit7z_7zip_version }}${{ (matrix.bit7z_auto_format == 'ON') && ', AUTO_FORMAT' || '' }}${{ (matrix.bit7z_regex_matching == 'ON') && ', REGEX_MATCHING' || '' }}${{ (matrix.bit7z_link_libcpp == 'ON') && ', LINK_LIBCPP' || '' }}${{ (matrix.bit7z_build_for_p7zip == 'ON') && ', BUILD_FOR_P7ZIP' || '' }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -113,6 +119,7 @@ jobs:
- name: Building and testing bit7z
uses: ./.github/actions/test_action
with:
arch: ${{ matrix.arch }}
c_compiler: ${{ matrix.c_compiler }}
cpp_compiler: ${{ matrix.cpp_compiler }}
sevenzip_version: ${{ matrix.bit7z_7zip_version }}
Expand Down
88 changes: 0 additions & 88 deletions .github/workflows/test_ubuntu24_arm.yml

This file was deleted.

0 comments on commit 1225d68

Please sign in to comment.