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

feat(crates-io): publish gstd and gear-wasm-builder #3515

Merged
merged 40 commits into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
255f5be
chore(crates-io): add gstd to crates-io manager
clearloop Nov 21, 2023
b974ae9
chore(gstd): present feature default to gstd-codegen
clearloop Nov 21, 2023
f9e8a26
chore(gstd): fill metadata for gstd
clearloop Nov 21, 2023
3dd0632
chore(crates-io): present gear-wasm-builder to crates-io manager
clearloop Nov 21, 2023
d8d5f82
ci(crates-io): test on merging master
clearloop Nov 21, 2023
e5a4eb2
chore(galloc): fill metadata
clearloop Nov 21, 2023
fc2a49d
chore(galloc): reference published gear-dlmalloc
clearloop Nov 21, 2023
8055dfd
chore(galloc): flush features
clearloop Nov 21, 2023
7cc5cc2
chore(gcore): fill metadata of gcore
clearloop Nov 21, 2023
ffb55e3
chore(crates-io): panicking on publishing failed
clearloop Nov 21, 2023
c24b7a4
feat(crates-io-manager): introduce library for crates-io-manager
clearloop Nov 23, 2023
f9a43ea
chore(wasm-builder): include build script in package
clearloop Nov 23, 2023
d9ad0ca
feat(crates-io): split manager into parts
clearloop Nov 23, 2023
42db26e
feat(crates-io-manager): map parity-wasm to gear-wasm
clearloop Nov 23, 2023
9dc3a03
feat(crates-io): map pwasm-utils to gear-pwasm-utils
clearloop Nov 23, 2023
ae8fe24
feat(wasm-builder): update parity-wasm to v0.45 inside of pwasm-utils
clearloop Nov 23, 2023
4991e7c
ci(crates-io): test with CI
clearloop Nov 23, 2023
aa0129d
chore(crates-io): make clippy happy
clearloop Nov 23, 2023
91b5220
docs(manifest): format manifests
clearloop Nov 23, 2023
780aa3c
Merge branch 'master' into cl/issue-3500
clearloop Nov 27, 2023
36cee3b
feat(crates-io): split PACKAGE definations
clearloop Nov 27, 2023
83dd5f2
chore(lock): sync Cargo.lock
clearloop Nov 27, 2023
7d30e23
feat(crates-io): introduce binary check
clearloop Nov 27, 2023
870d947
feat(crates-io): patch `sp-` prefix packages on checking
clearloop Nov 27, 2023
ba60be1
chore(crates-io): check the to-be-published packages only
clearloop Nov 27, 2023
ffee688
ci(crates-io): check packages on PR
clearloop Nov 27, 2023
13722ba
ci(crates-io): format the action file
clearloop Nov 27, 2023
0eeb1cb
chore(crates-io): address comments
clearloop Nov 27, 2023
f94718f
chore(crates-io): pretty errors on looking up root manifest
clearloop Nov 27, 2023
c7357ca
chore(clippy): make clippy happy
clearloop Nov 27, 2023
5ab12af
chore(crates-io): apply cargo-fmt suggestions
clearloop Nov 27, 2023
a894226
chore(crates-io-manager): address comments
clearloop Nov 29, 2023
4446cbb
Merge branch 'master' into cl/issue-3500
clearloop Nov 29, 2023
c0d18c4
feat(crates-io): use clap for cli
clearloop Dec 4, 2023
04e8776
chore(crates-io): add license
clearloop Dec 4, 2023
bf44b68
chore(wasm-builder): inherit manifest from workspace
clearloop Dec 4, 2023
e61a316
chore(crates-io): aggregate failed packages
clearloop Dec 4, 2023
7153ce5
Merge branch 'master' into cl/issue-3500
clearloop Dec 4, 2023
e032a5c
chore(clap): bump to 4.4.10
clearloop Dec 4, 2023
2747612
chore(mainfests): trim whitespaces of features
clearloop Dec 4, 2023
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
15 changes: 13 additions & 2 deletions .github/workflows/crates-io.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ name: Crates IO

on:
workflow_dispatch:
inputs:
publish:
description: "If publish packages"
type: boolean
default: false
pull_request:
branches: [master]

env:
CARGO_INCREMENTAL: 0
Expand All @@ -10,7 +17,7 @@ env:
TERM: xterm-256color

jobs:
publish:
check:
runs-on: ubuntu-latest
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
Expand All @@ -21,5 +28,9 @@ jobs:
- name: "Install: Rust toolchain"
uses: dsherret/rust-toolchain-file@v1

- name: "Check packages"
run: cargo run --release -p crates-io-manager check

- name: "Publish packages"
run: cargo run --release -p crates-io-manager
if: ${{ github.event_name == 'workflow_dispatch' && inputs.publish }}
run: cargo run --release -p crates-io-manager publish
Loading