From ee98288c983c93267c97a656dbc528214a7532fa Mon Sep 17 00:00:00 2001 From: Oz Date: Sat, 25 Jan 2025 17:14:16 +0100 Subject: [PATCH] [Test] Use Ubuntu 22.04 for test workflow --- .github/workflows/ctest.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ctest.yml b/.github/workflows/ctest.yml index afa88013..e8b4d95f 100644 --- a/.github/workflows/ctest.yml +++ b/.github/workflows/ctest.yml @@ -16,7 +16,7 @@ jobs: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-13] + os: [ubuntu-22.04, windows-latest, macos-13] build_type: [Debug, Release] c_compiler: [gcc, clang, cl] bit7z_auto_format: [OFF, ON] @@ -31,11 +31,11 @@ jobs: c_compiler: cl cpp_compiler: cl use_system_7zip: ON - - os: ubuntu-latest + - os: ubuntu-22.04 c_compiler: gcc cpp_compiler: g++ use_system_7zip: OFF - - os: ubuntu-latest + - os: ubuntu-22.04 c_compiler: clang cpp_compiler: clang++ use_system_7zip: OFF @@ -50,18 +50,18 @@ jobs: c_compiler: clang - os: windows-latest bit7z_link_libcpp: ON - - os: ubuntu-latest + - os: ubuntu-22.04 c_compiler: cl - - os: ubuntu-latest + - os: ubuntu-22.04 c_compiler: gcc bit7z_link_libcpp: ON - - os: ubuntu-latest + - os: ubuntu-22.04 bit7z_use_native_string: ON - - os: ubuntu-latest + - os: ubuntu-22.04 bit7z_auto_prefix_long_paths: ON - - os: ubuntu-latest + - os: ubuntu-22.04 bit7z_use_system_codepage: ON - - os: ubuntu-latest + - os: ubuntu-22.04 bit7z_path_sanitization: ON - os: macos-13 c_compiler: cl @@ -120,7 +120,7 @@ jobs: - name: Build 7z.so for tests (Ubuntu) shell: bash - if: matrix.os == 'ubuntu-latest' + if: matrix.os == 'ubuntu-22.04' run: | git clone --depth 1 https://github.com/rikyoz/7-Zip ${{ github.workspace }}/../7-zip cd ${{ github.workspace }}/../7-zip/CPP/7zip/Bundles/Format7zF/