mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 21:00:01 +00:00
Compare commits
No commits in common. "9696cd47bdfcdc494e225e6708f25ad2f130a0e0" and "bccde27fb82fe7ac75bb3891e5a12a006ca43589" have entirely different histories.
9696cd47bd
...
bccde27fb8
6
.github/workflows/docs-and-testcov.yml
vendored
6
.github/workflows/docs-and-testcov.yml
vendored
@ -6,7 +6,7 @@ concurrency:
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
branches: [main, update_docs_workflow]
|
||||
# pull_request:
|
||||
# branches: [main]
|
||||
workflow_dispatch:
|
||||
@ -103,8 +103,8 @@ jobs:
|
||||
cp tarpaulin-report.json target/doc/docs/
|
||||
cp tarpaulin-badge.json target/doc/docs/
|
||||
cp last-commit-date.json target/doc/docs/
|
||||
mkdir -p target/doc/.github
|
||||
cp .github/rustframe_logo.png target/doc/.github/rustframe_logo.png
|
||||
mkdir -p target/doc/docs/.github
|
||||
cp .github/rustframe_logo.png target/doc/docs/.github/
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; url=docs\">" > target/doc/index.html
|
||||
|
||||
- name: Upload Pages artifact
|
||||
|
29
.github/workflows/run-benchmarks-self-hosted.yml
vendored
Normal file
29
.github/workflows/run-benchmarks-self-hosted.yml
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
name: Run benchmarks
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
run-benchmarks:
|
||||
runs-on: self-hosted-linux
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
|
||||
- name: Run benchmarks
|
||||
run: cargo bench --features bench
|
||||
|
||||
- name: Upload benchmark reports
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: benchmark-reports-${{ github.sha }}
|
||||
path: ./target/criterion/
|
8
.github/workflows/run-benchmarks.yml
vendored
8
.github/workflows/run-benchmarks.yml
vendored
@ -2,9 +2,9 @@ name: Run benchmarks
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
# push:
|
||||
# branches:
|
||||
# - main
|
||||
|
||||
jobs:
|
||||
pick-runner:
|
||||
@ -34,7 +34,7 @@ jobs:
|
||||
toolchain: stable
|
||||
|
||||
- name: Run benchmarks
|
||||
run: cargo bench --features bench
|
||||
run: cargo bench
|
||||
|
||||
- name: Upload benchmark reports
|
||||
uses: actions/upload-artifact@v4
|
||||
|
7
.github/workflows/run-unit-tests.yml
vendored
7
.github/workflows/run-unit-tests.yml
vendored
@ -39,11 +39,8 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
override: true
|
||||
- name: Install Rust
|
||||
run: rustup update stable
|
||||
- name: Install cargo-llvm-cov
|
||||
uses: taiki-e/install-action@cargo-llvm-cov
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user