Skip to content

Commit

Permalink
CI: macos-12 -> macos-13, ubuntu-22.04 -> ubuntu-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
newAM committed Dec 10, 2024
1 parent 9f4e13c commit 952d77d
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ name: CI
jobs:
linux_build:
name: Linux Build
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
env:
RUSTFLAGS: "-D warnings"
RUSTDOCFLAGS: "-D warnings"
Expand Down Expand Up @@ -65,13 +65,15 @@ jobs:

macos_build:
name: Mac Build
runs-on: macos-12
runs-on: macos-13
env:
RUSTFLAGS: "-D warnings"
RUSTDOCFLAGS: "-D warnings"
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-apple-darwin
- run: cargo build --target x86_64-apple-darwin
- run: cargo build --features=bindgen --target x86_64-apple-darwin
- run: cargo doc
Expand All @@ -98,7 +100,7 @@ jobs:

linux_test:
name: Linux Unit Tests
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
strategy:
matrix:
target:
Expand All @@ -115,10 +117,12 @@ jobs:

macos_test:
name: Mac Unit Tests
runs-on: macos-12
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: x86_64-apple-darwin
- run: cargo test --target x86_64-apple-darwin

windows_test:
Expand All @@ -136,7 +140,7 @@ jobs:

clippy_check:
name: Clippy
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand All @@ -146,7 +150,7 @@ jobs:

format_check:
name: Rust Format
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
Expand All @@ -166,7 +170,7 @@ jobs:
- macos_test
- windows_build
- windows_test
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand Down

0 comments on commit 952d77d

Please sign in to comment.