From 8946a782e6045c5ebaa0ff04f03227a8c3158e82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20S=C3=A1nchez=20Ram=C3=ADrez?= Date: Mon, 28 Oct 2024 15:19:00 +0100 Subject: [PATCH] Refactor regenerate-mlir-bindings.yml workflow --- .github/workflows/regenerate-mlir-bindings.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/regenerate-mlir-bindings.yml b/.github/workflows/regenerate-mlir-bindings.yml index a75bceed..b22e4064 100644 --- a/.github/workflows/regenerate-mlir-bindings.yml +++ b/.github/workflows/regenerate-mlir-bindings.yml @@ -22,17 +22,22 @@ jobs: run: | import Pkg Pkg.add("JuliaFormatter") - - run: julia --project=. -e 'using Pkg; pkg"instantiate"; pkg"update"; pkg"precompile"; using Clang; Clang.JLLEnvs.get_system_includes()' + - name: Instantiate dependencies + run: julia --project=. --color=yes {0} + shell: | + using Pkg + pkg"instantiate" + pkg"update" + pkg"precompile" + using Clang + Clang.JLLEnvs.get_system_includes() working-directory: ./deps/ReactantExtra - env: - JULIA_DEPOT_PATH: ${{ runner.temp }}/julia_depot - - run: julia --project=. make-bindings.jl + - run: julia --project=. --color=yes make-bindings.jl working-directory: ./deps/ReactantExtra - env: - JULIA_DEPOT_PATH: ${{ runner.temp }}/julia_depot - run: | chmod -R u+rw ./src/mlir/Dialects/ chmod u+rw ./src/mlir/libMLIR_h.jl + chmod u-x ./src/mlir/libMLIR_h.jl - name: Format code shell: julia --color=yes {0} run: |