Skip to content

Commit

Permalink
update CompatHelper workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
prbzrg authored and vchuravy committed Jun 6, 2024
1 parent b2b5161 commit 8c2f5ac
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/CompatHelper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,28 @@ jobs:
CompatHelper:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Get Julia compatibility
id: julia_compat
# NOTE: this requires a julia compat lower-bound with minor version!
run : |
version=$(grep '^julia = ' Project.toml | grep -o '".*"' | cut -d '"' -f2)
echo "::set-output name=version::$version"
- uses: julia-actions/setup-julia@latest
- uses: julia-actions/setup-julia@v2
with:
version: ${{ steps.julia_compat.outputs.version }}
- name: Pkg.add("CompatHelper")
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
- name: CompatHelper.main()
arch: x64
show-versioninfo: true
- name: Pkg.add
shell: julia --color=yes {0}
run: |
import Pkg
Pkg.add("CompatHelper")
- name: CompatHelper.main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: julia -e 'using CompatHelper; CompatHelper.main()'
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
shell: julia --color=yes {0}
run: |
import CompatHelper
CompatHelper.main(; include_jll = true, subdirs = ["", "docs", "test", "deps", "lib/EnzymeCore", "lib/EnzymeCore/test", "lib/EnzymeTestUtils", "lib/EnzymeTestUtils/test"])

0 comments on commit 8c2f5ac

Please sign in to comment.