Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
sunli829 committed May 15, 2024
1 parent 30a9568 commit 6e1b26f
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest, windows-latest, macos-13]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand All @@ -55,7 +55,7 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest, windows-latest, macos-13]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
fail-fast: true
matrix:
settings:
- host: macos-latest
- host: macos-13
architecture: x64
build: |
npm run build
Expand All @@ -114,7 +114,7 @@ jobs:
npm run build
strip *.node
- host: macos-latest
- host: macos-13
target: aarch64-apple-darwin
build: |
sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/*;
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest, windows-latest, macos-13]
java-version: ["8"]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -205,7 +205,7 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest, windows-latest, macos-13]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -249,7 +249,7 @@ jobs:
platform: OS64
- target: aarch64-apple-ios-sim
platform: SIMULATOR64
runs-on: macos-latest
runs-on: macos-13
steps:
- uses: actions/checkout@v3
with:
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
cargo publish --no-verify
build-python-sdk-macos:
runs-on: macos-latest
runs-on: macos-13
strategy:
fail-fast: true
matrix:
Expand Down Expand Up @@ -257,7 +257,7 @@ jobs:
fail-fast: true
matrix:
settings:
- host: macos-latest
- host: macos-13
architecture: x64
build: |
npm run build
Expand All @@ -272,7 +272,7 @@ jobs:
npm run build
strip *.node
- host: macos-latest
- host: macos-13
target: aarch64-apple-darwin
build: |
sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/*;
Expand Down Expand Up @@ -376,11 +376,11 @@ jobs:
- host: windows-latest
lib_suffix: ".dll"
target: x86_64-pc-windows-msvc
- host: macos-latest
- host: macos-13
lib_prefix: "lib"
lib_suffix: ".dylib"
target: x86_64-apple-darwin
- host: macos-latest
- host: macos-13
lib_prefix: "lib"
lib_suffix: ".dylib"
target: aarch64-apple-darwin
Expand Down Expand Up @@ -510,11 +510,11 @@ jobs:
- host: windows-latest
target: x86_64-pc-windows-msvc
platform: x86_64_windows
- host: macos-latest
- host: macos-13
target: x86_64-apple-darwin
platform: x86_64_macos
dylib_ext: dylib
- host: macos-latest
- host: macos-13
target: aarch64-apple-darwin
platform: aarch64_macos
dylib_ext: dylib
Expand Down Expand Up @@ -591,11 +591,11 @@ jobs:
- host: windows-latest
target: x86_64-pc-windows-msvc
platform: x86_64_windows
- host: macos-latest
- host: macos-13
target: x86_64-apple-darwin
platform: x86_64_macos
dylib_ext: dylib
- host: macos-latest
- host: macos-13
target: aarch64-apple-darwin
platform: aarch64_macos
dylib_ext: dylib
Expand Down Expand Up @@ -685,7 +685,7 @@ jobs:
build-type: Release
target-dir: release
cargo-args: -r
runs-on: macos-latest
runs-on: macos-13
steps:
- uses: actions/checkout@v3
with:
Expand Down

0 comments on commit 6e1b26f

Please sign in to comment.