Skip to content

Commit

Permalink
Merge branch 'main' into i1048
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch authored Jul 12, 2024
2 parents a8ee3ab + 16cdd17 commit 0f3f01a
Show file tree
Hide file tree
Showing 154 changed files with 2,896 additions and 509 deletions.
28 changes: 9 additions & 19 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,24 +48,15 @@ jobs:
- uses: actions/checkout@v3
- uses: stellar/actions/rust-check-git-rev-deps@main

rust-analyzer-compat:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rustup update
- run: rustup +nightly component add rust-analyzer
- name: Check if rust-analyzer encounters any errors parsing project
run: rustup run nightly rust-analyzer analysis-stats . 2>&1 | (! grep '^\[ERROR')

semver-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rustup update
- uses: stellar/binaries@v18
- uses: stellar/binaries@v24
with:
name: cargo-semver-checks
version: 0.27.0
version: 0.32.0
- run: cargo semver-checks

build-and-test:
Expand All @@ -84,10 +75,10 @@ jobs:
# specific crate-type, lib, such that the Cargo.toml crate-type is
# ignored.
cdylib-cross-compile-workaround: true
- os: macos-latest
target: x86_64-apple-darwin
- os: macos-latest
target: aarch64-apple-darwin
# - os: macos-latest
# target: x86_64-apple-darwin
# - os: macos-latest
# target: aarch64-apple-darwin
- os: windows-latest
target: x86_64-pc-windows-msvc
runs-on: ${{ matrix.sys.os }}
Expand Down Expand Up @@ -136,7 +127,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: stellar/actions/rust-cache@main
- run: rustup install nightly-2024-02-03
- run: rustup install nightly
- uses: stellar/binaries@v15
with:
name: cargo-fuzz
Expand All @@ -148,16 +139,15 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: stellar/actions/rust-cache@main
# TODO: Upgrade to latest nightly after problem that was introduced in nightly-2024-02-05 (https://github.com/dalek-cryptography/curve25519-dalek/issues/618) is resolved.
- run: rustup install nightly-2024-02-03
- run: rustup install nightly
- run: make doc

readme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: stellar/actions/rust-cache@main
- run: rustup install nightly-2024-02-03
- run: rustup install nightly
- run: make readme
- run: git add -N . && git diff HEAD --exit-code

Expand Down
Loading

0 comments on commit 0f3f01a

Please sign in to comment.