use varname_leaves
from AbstractPPL instead
#333
Workflow file for this run
This file contains hidden or 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: Enzyme on demo models | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
# needed to allow julia-actions/cache to delete old caches that it has created | |
permissions: | |
actions: write | |
contents: read | |
# Cancel existing tests on the same PR if a new commit is added to a pull request | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref || github.run_id }} | |
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} | |
jobs: | |
enzyme: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: julia-actions/setup-julia@v2 | |
with: | |
version: "1" | |
- uses: julia-actions/cache@v2 | |
- name: Run AD with Enzyme on demo models | |
working-directory: test/integration/enzyme | |
run: | | |
julia --project=. --color=yes -e 'using Pkg; Pkg.instantiate()' | |
julia --project=. --color=yes main.jl |