From 8c2f5aca68c433e816c59ec30b1cc0319b2ca2c3 Mon Sep 17 00:00:00 2001 From: Hossein Pourbozorg Date: Mon, 27 May 2024 21:26:24 +0330 Subject: [PATCH] update `CompatHelper` workflow --- .github/workflows/CompatHelper.yml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/.github/workflows/CompatHelper.yml b/.github/workflows/CompatHelper.yml index 9ed073b516..69572a5eac 100644 --- a/.github/workflows/CompatHelper.yml +++ b/.github/workflows/CompatHelper.yml @@ -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"])