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 committed Oct 31, 2024
2 parents 0f3f01a + b7b8255 commit c208bcc
Show file tree
Hide file tree
Showing 232 changed files with 5,207 additions and 14,358 deletions.
27 changes: 22 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
pull_request:
merge_group:

concurrency:
group: ${{ github.workflow }}-${{ github.ref_protected == 'true' && github.sha || github.ref }}-{{ github.event_name }}
cancel-in-progress: true

defaults:
run:
shell: bash
Expand Down Expand Up @@ -53,10 +57,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: rustup update
- uses: stellar/binaries@v24
- uses: stellar/binaries@v30
with:
name: cargo-semver-checks
version: 0.32.0
version: 0.35.0
- run: cargo semver-checks

build-and-test:
Expand Down Expand Up @@ -109,6 +113,12 @@ jobs:
run: rm -fr **/test_snapshots
- name: Build for wasm
run: cargo-hack hack build --target wasm32-unknown-unknown --profile release
- name: Wasm Size
run: |
cd target/wasm32-unknown-unknown/release/ && \
for i in *.wasm ; do \
ls -l "$i"; \
done
- if: "!matrix.sys.cdylib-cross-compile-workaround"
name: Build for native
run: cargo-hack hack --feature-powerset --exclude-features docs build --target ${{ matrix.sys.target }}
Expand All @@ -127,27 +137,34 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: stellar/actions/rust-cache@main
- run: rustup install nightly
# TODO: Unpin nightly version after https://github.com/rust-lang/rust/issues/131643 is fixed.
- run: rustup install nightly-2024-10-10
- uses: stellar/binaries@v15
with:
name: cargo-fuzz
version: 0.11.2
- run: make build-fuzz
- name: Check no diffs exist
run: git add -N . && git diff HEAD --exit-code

docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: stellar/actions/rust-cache@main
- run: rustup install nightly
# TODO: Unpin nightly version after https://github.com/rust-lang/rust/issues/131643 is fixed.
- run: rustup install nightly-2024-10-10
- run: make doc
- name: Check no diffs exist
run: git add -N . && git diff HEAD --exit-code

readme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: stellar/actions/rust-cache@main
- run: rustup install nightly
# TODO: Unpin nightly version after https://github.com/rust-lang/rust/issues/131643 is fixed.
- run: rustup install nightly-2024-10-10
- run: make readme
- run: git add -N . && git diff HEAD --exit-code

Expand Down
Loading

0 comments on commit c208bcc

Please sign in to comment.