Allow return statements for GPU-only kernels #58
Workflow file for this run
This file contains 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: Runic formatting | |
on: | |
push: | |
branches: | |
- 'master' | |
- 'release-' | |
tags: | |
- '*' | |
pull_request: | |
jobs: | |
runic: | |
name: Runic | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: julia-actions/setup-julia@v2 | |
with: | |
version: "nightly" # Only nightly have the -m flag currently | |
- uses: julia-actions/cache@v2 | |
- name: Install Runic | |
run: | | |
julia --color=yes --project=@runic -e 'using Pkg; Pkg.add(url = "https://github.com/fredrikekre/Runic.jl", rev = "e128bc9b77ea44b8fe23a0c3afe741a19c71a7b2")' | |
- name: Run Runic | |
run: | | |
git ls-files -z -- '*.jl' | xargs -0 julia --project=@runic -m Runic --check --diff |