-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' into latest-stremio-core-web
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
- Loading branch information
Showing
244 changed files
with
31,680 additions
and
370 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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
|
||
[build] | ||
# for `--enable-index-page` it is required to pass `-Z unstable-options` to rustdocs | ||
# rustdocflags = ["--cfg", "docsrs", "-Z", "unstable-options", "--enable-index-page"] | ||
|
||
[alias] | ||
# Requires cargo-watch | ||
ww = ["watch-wasm"] | ||
watch-wasm = ["watch", "--shell", "./scripts/build.sh --dev"] | ||
build-docs = "doc --no-deps --workspace --document-private-items" | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Deploy docs | ||
|
||
on: | ||
push: | ||
branches: | ||
- development | ||
|
||
jobs: | ||
deploy-docs: | ||
name: Deploy docs on gh-pages | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
|
||
- name: Rust setup (nightly) | ||
uses: dtolnay/rust-toolchain@master | ||
with: | ||
# Use nightly to build the docs with `--cfg docsrs` | ||
toolchain: nightly | ||
components: rust-docs | ||
|
||
- name: Build docs | ||
# Building locally: | ||
# for `--enable-index-page` it is required to pass `-Z unstable-options` to rustdocs | ||
run: RUSTDOCFLAGS="--cfg docsrs -Z unstable-options --enable-index-page" cargo +nightly build-docs | ||
|
||
- name: Prepare /docs | ||
run: | | ||
rm -rf ./docs | ||
mv target/doc ./docs | ||
- name: Deploy gh-pages | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./docs |
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: MSRV build | ||
|
||
on: | ||
push: | ||
# will checkout the default branch `development` | ||
schedule: | ||
# run every Friday at 17:00 | ||
- cron: '00 17 * * 5' | ||
# Or ran manually | ||
workflow_dispatch: | ||
|
||
# Stops the running workflow of previous pushes | ||
concurrency: | ||
# cancel per workflow | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
RUST_MSRV_VERSION: '1.67.1' | ||
|
||
jobs: | ||
build: | ||
name: Test and build | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Rust setup (MSRV) | ||
uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: ${{ env.RUST_MSRV_VERSION }} | ||
|
||
- uses: Swatinem/rust-cache@v2 | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- run: cargo check | ||
- run: cargo test |
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
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
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 |
---|---|---|
@@ -1,7 +1,10 @@ | ||
/target | ||
/node_modules | ||
/wasm_build | ||
stremio_core_web.js | ||
bridge.js | ||
worker.js | ||
stremio_core_web_bg.wasm | ||
*/target | ||
**/*.rs.bk | ||
|
||
**/node_modules | ||
**/wasm_build | ||
**/stremio_core_web.js | ||
**/bridge.js | ||
**/worker.js | ||
**/stremio_core_web_bg.wasm |
Oops, something went wrong.