-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (36 loc) · 1.05 KB
/
CI.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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 thread_rng -F oidn --no-default-features -- --multiplier=4 --all
cargo test --release -F thread_rng -F oidn --no-default-features --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