Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Xcode 14.3, and update rustc nightly #487

Merged
merged 10 commits into from
Aug 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 10 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ env:
--package=objc2-encode
--package=objc2-proc-macros
# The current nightly Rust version that our CI uses
CURRENT_NIGHTLY: nightly-2023-05-25
CURRENT_NIGHTLY: nightly-2023-08-27
# Various features that we'd usually want to test with
#
# Note: The `exception` feature is not enabled here, since it requires
Expand Down Expand Up @@ -150,7 +150,8 @@ jobs:
run: cargo doc --no-deps --document-private-items ${{ matrix.args }}

- name: cargo clippy
run: cargo clippy --all-targets ${{ matrix.args }}
# Temporarily allow diverging_sub_expression until we figure out how to silence them in declare_class!
run: cargo clippy --all-targets ${{ matrix.args }} -- --allow=clippy::diverging_sub_expression

msrv:
name: Check MSRV
Expand Down Expand Up @@ -221,6 +222,9 @@ jobs:
- fmt
- lint

env:
TEST_OVERWRITE: 1

steps:
- uses: actions/checkout@v3
with:
Expand All @@ -234,41 +238,32 @@ jobs:
override: true
components: rust-src

- name: Install remaining targets
run: >-
rustup target add
x86_64-apple-darwin
aarch64-apple-darwin
x86_64-unknown-linux-gnu
i686-unknown-linux-gnu

- name: Cache Cargo
uses: actions/cache@v3
with:
path: ${{ env.CARGO_CACHE_PATH }}
key: cargo-${{ github.job }}-${{ matrix.name }}-${{ hashFiles('**/Cargo.lock') }}

- name: Run macOS x86_64 assembly tests
run: cargo run --bin=test-assembly -- --target=x86_64-apple-darwin
run: cargo run --bin=test-assembly -- -Z build-std --target=x86_64-apple-darwin

- name: Run all assembly tests
if: ${{ env.FULL }}
run: ./helper-scripts/run-assembly-tests.sh
env:
TEST_OVERWRITE: 1

- name: Check diff
if: ${{ always() }}
run: git diff --exit-code

header-translator:
name: Verify header translator output
runs-on: macos-12
runs-on: macos-13
needs:
- fmt
- lint

env:
DEVELOPER_DIR: /Applications/Xcode_14.2.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_14.3.1.app/Contents/Developer

steps:
- uses: actions/checkout@v3
Expand Down
124 changes: 67 additions & 57 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading