Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,14 @@ jobs:
${{ runner.os }}-test-${{ matrix.version }}-${{ env.cache-name }}-
${{ runner.os }}-test-${{ matrix.version }}-
${{ runner.os }}-
# Serialize precompile workers for the python-using groups. PythonCall's
# `JlWrap.__init__` has been observed to fail intermittently with
# `UndefRefError: access to undefined reference` when multiple precompile
# workers spin up the wrapper-type registration concurrently. Setting
# `JULIA_NUM_PRECOMPILE_TASKS=1` removes that race; the cost on these
# small subpackages is negligible.
- if: ${{ matrix.group == 'OptimizationSciPy' || matrix.group == 'OptimizationPyCMA' }}
run: echo "JULIA_NUM_PRECOMPILE_TASKS=1" >> $GITHUB_ENV
- uses: julia-actions/julia-buildpkg@v1
- if: ${{ matrix.group == 'OptimizationQuadDIRECT' }}
run: julia --project -e 'using Pkg; Pkg.Registry.add(RegistrySpec(url = "https://github.com/HolyLab/HolyLabRegistry.git")); Pkg.add("QuadDIRECT")'
Expand Down
Loading