initial updates after a year #9
Workflow file for this run
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
name: build & test | |
on: | |
pull_request: | |
types: [assigned, opened, synchronize, edited] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04] | |
runs-on: "${{ matrix.os }}" | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- name: setup rust | |
run: rustup toolchain install nightly | |
- name: build | |
run: cargo build | |
- name: test | |
run: cargo test | |
- name: bench | |
run: cargo bench > bench.txt | |
- name: upload bench | |
uses: actions/upload-artifact@v4 | |
with: | |
path: bench.txt | |
- name: add bench to pr | |
uses: thollander/actions-comment-pull-request@v2 | |
with: | |
filePath: bench.txt | |
comment_tag: execution |