forked from serde-rs/serde
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Following consensus on: serde-rs#2580 (review)
This PR phases out the precompiled per final consensus made in serde-rs#2580 i# Fix a cfg
- Loading branch information
1 parent
151b45a
commit 360606b
Showing
33 changed files
with
3 additions
and
1,607 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -98,7 +98,6 @@ jobs: | |
- run: cd serde && cargo check --no-default-features | ||
- run: cd serde && cargo check | ||
- run: cd serde_derive && cargo check | ||
- run: cd precompiled/serde_derive && cargo check | ||
|
||
alloc: | ||
name: Rust 1.36.0 | ||
|
@@ -109,35 +108,14 @@ jobs: | |
- uses: dtolnay/[email protected] | ||
- run: cd serde && cargo build --no-default-features --features alloc | ||
|
||
precompiled: | ||
name: Precompiled | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 45 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: dtolnay/rust-toolchain@nightly | ||
with: | ||
components: rust-src | ||
targets: x86_64-unknown-linux-musl | ||
- run: precompiled/build.sh | ||
- name: replace serde_derive dependency with precompiled | ||
run: | | ||
cargo rm serde_derive --package serde | ||
cargo rm serde_derive --package serde --dev | ||
sed -i '/"serde_derive"/d' Cargo.toml | ||
sed -i '/\[workspace\]/d' precompiled/serde_derive/Cargo.toml | ||
cargo add --dev serde_derive --path precompiled/serde_derive --package serde_test_suite | ||
git diff | ||
- run: cd test_suite && cargo test --features unstable -- --skip ui --exact | ||
|
||
macos: | ||
name: macOS | ||
runs-on: macos-latest | ||
timeout-minutes: 45 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: dtolnay/rust-toolchain@stable | ||
- run: cd precompiled/serde_derive && cargo check | ||
- run: cd serde_derive && cargo check | ||
|
||
minimal: | ||
name: Minimal versions | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.