Skip to content

rayrender v0.38.7: FIx memory leak with texture cache and char pointers #286

rayrender v0.38.7: FIx memory leak with texture cache and char pointers

rayrender v0.38.7: FIx memory leak with texture cache and char pointers #286

Workflow file for this run

# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
release:
types: [published]
workflow_dispatch:
name: pkgdown.yaml
permissions: read-all
jobs:
pkgdown:
runs-on: ubuntu-latest
# Only restrict concurrency for non-PR jobs
concurrency:
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
# --- Download and Install OIDN ---
- name: Install OIDN (macOS)
if: runner.os == 'macOS'
run: |
ARCH=$(uname -m)
if [ "${ARCH}" = "arm64" ]; then
# Download ARM64 (Apple Silicon) OIDN build
curl -LO https://github.com/OpenImageDenoise/oidn/releases/download/v2.3.1/oidn-2.3.1.arm64.macos.tar.gz
tar xzf oidn-2.3.1.arm64.macos.tar.gz
echo "OIDN_PATH=$(pwd)/oidn-2.3.1.arm64.macos" >> $GITHUB_ENV
else
# Download x86_64 OIDN build
curl -LO https://github.com/OpenImageDenoise/oidn/releases/download/v2.3.1/oidn-2.3.1.x86_64.macos.tar.gz
tar xzf oidn-2.3.1.x86_64.macos.tar.gz
echo "OIDN_PATH=$(pwd)/oidn-2.3.1.x86_64.macos" >> $GITHUB_ENV
fi
- name: Install OIDN (Linux)
if: runner.os == 'Linux'
run: |
curl -LO https://github.com/OpenImageDenoise/oidn/releases/download/v2.3.1/oidn-2.3.1.x86_64.linux.tar.gz
tar xzf oidn-2.3.1.x86_64.linux.tar.gz
echo "OIDN_PATH=$(pwd)/oidn-2.3.1.x86_64.linux" >> $GITHUB_ENV
- name: Install OIDN (Windows)
if: runner.os == 'Windows'
run: |
curl -LO https://github.com/OpenImageDenoise/oidn/releases/download/v2.3.1/oidn-2.3.1.x64.windows.zip
7z x oidn-2.3.1.x64.windows.zip
echo "OIDN_PATH=$(pwd)/oidn-2.3.1.x64.windows" >> $GITHUB_ENV
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
needs: website
- name: Fix git pkgdown build
run: git config --global http.postBuffer 524288000
- name: Build site
run: Rscript -e "pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)"
- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/[email protected]
with:
clean: false
branch: gh-pages
folder: docs