Skip to content

Commit

Permalink
[Test] Use macOS 13 for GA tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rikyoz committed May 1, 2024
1 parent a77e5fb commit d200dee
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/ctest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
fail-fast: false

matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest, windows-latest, macos-13]
build_type: [Debug, Release]
c_compiler: [gcc, clang, cl]
bit7z_auto_format: [OFF, ON]
Expand All @@ -39,7 +39,7 @@ jobs:
c_compiler: clang
cpp_compiler: clang++
use_system_7zip: OFF
- os: macos-latest
- os: macos-13
c_compiler: clang
cpp_compiler: clang++
use_system_7zip: OFF
Expand All @@ -63,17 +63,17 @@ jobs:
bit7z_use_system_codepage: ON
- os: ubuntu-latest
bit7z_path_sanitization: ON
- os: macos-latest
- os: macos-13
c_compiler: cl
- os: macos-latest
- os: macos-13
c_compiler: gcc
- os: macos-latest
- os: macos-13
bit7z_use_native_string: ON
- os: macos-latest
- os: macos-13
bit7z_auto_prefix_long_paths: ON
- os: macos-latest
- os: macos-13
bit7z_use_system_codepage: ON
- os: macos-latest
- os: macos-13
bit7z_path_sanitization: ON

steps:
Expand Down Expand Up @@ -129,9 +129,10 @@ jobs:
- name: Build 7z.so for tests (macOS)
shell: bash
if: matrix.os == 'macos-latest'
if: matrix.os == 'macos-13'
run: |
git clone --depth 1 https://github.com/rikyoz/7-Zip ${{ github.workspace }}/../7-zip
sed -i '' 's/-Wno-poison-system-directories/-Wno-poison-system-directories -Wno-declaration-after-statement\r/' ${{ github.workspace }}/../7-zip/CPP/7zip/warn_clang_mac.mak
cd ${{ github.workspace }}/../7-zip/CPP/7zip/Bundles/Format7zF/
make -j -f ../../cmpl_mac_x64.mak
cp b/m_x64/7z.so ${{ github.workspace }}/bin/x64/7z.so
Expand Down

0 comments on commit d200dee

Please sign in to comment.