seperate const generic vector types and hardcoded, we should profile … #29
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
on: | |
push: | |
branches: | |
- "**" | |
workflow_dispatch: | |
permissions: | |
contents: write | |
pages: write | |
id-token: write | |
concurrency: | |
group: "render" | |
cancel-in-progress: true | |
jobs: | |
render: | |
if: github.actor != 'github-actions[bot]' | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/[email protected] | |
with: | |
token: ${{ secrets.github_token }} | |
submodules: recursive | |
- uses: dtolnay/rust-toolchain@nightly | |
- name: render | |
run: | | |
export LD_LIBRARY_PATH=./oidn/oidn/lib:$LD_LIBRARY_PATH | |
cargo run --release -F oidn -- --multiplier=4 --all | |
cargo test --release -F oidn --all-targets --all | |
- name: commit | |
run: | | |
git config --global user.email "github-actions[bot]@users.noreply.github.com" | |
git config --global user.name "github-actions[bot]" | |
git pull --autostash | |
git add renders | |
git commit -m "render" | |
git push |