Skip to content

refactor: rewrite timer #13

refactor: rewrite timer

refactor: rewrite timer #13

name: build and render
on:
push:
branches: [ "*" ]
pull_request:
branches: [ "*" ]
schedule:
- cron: "0 0 1 * *"
# runs on 00:00 1st day of every month
# 00:00 UTC = 08:00 Beijing
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
build-and-render-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: clone scene
run:
pushd ..;
git clone https://github.com/w3ntao/pbrt-rust-scenes.git;
popd;
- name: cargo build (release)
run:
cargo build --release;
- name: render
run:
bash render_all.sh