mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-21 07:39:59 +00:00
Compare commits
No commits in common. "4a5485cddd8d61db61652e291d04b4a076382c98" and "97e8f3d55c9a2340114f8864a2eef888a94750bc" have entirely different histories.
4a5485cddd
...
97e8f3d55c
2
.github/workflows/docs-and-testcov.yml
vendored
2
.github/workflows/docs-and-testcov.yml
vendored
@ -6,7 +6,7 @@ concurrency:
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main, update_docs_workflow]
|
||||||
# pull_request:
|
# pull_request:
|
||||||
# branches: [main]
|
# branches: [main]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
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/
|
7
.github/workflows/run-unit-tests.yml
vendored
7
.github/workflows/run-unit-tests.yml
vendored
@ -39,11 +39,8 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Rust
|
- name: Install Rust
|
||||||
uses: actions-rs/toolchain@v1
|
run: rustup update stable
|
||||||
with:
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
- name: Install cargo-llvm-cov
|
- name: Install cargo-llvm-cov
|
||||||
uses: taiki-e/install-action@cargo-llvm-cov
|
uses: taiki-e/install-action@cargo-llvm-cov
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user