Skip to content

Preallocate GPU interpolant #73

Preallocate GPU interpolant

Preallocate GPU interpolant #73

Workflow file for this run

name: Downstream
on:
push:
branches:
- main
tags: '*'
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# Needed to allow julia-actions/cache to delete old caches that it has created
permissions:
actions: write
contents: read
jobs:
test:
name: downstream ${{ matrix.package }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
package:
- 'ClimaAtmos.jl'
- 'ClimaLand.jl'
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1.10'
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: actions/checkout@v4
with:
repository: 'CliMA/${{ matrix.package }}'
path: ${{ matrix.package }}
- run: |
julia --color=yes --project=${{ matrix.package }} -e 'using Pkg; Pkg.instantiate()'
julia --color=yes --project=${{ matrix.package }} -e 'using Pkg; Pkg.develop(; path = ".")'
julia --color=yes --project=${{ matrix.package }} -e 'using Pkg; Pkg.test()'