diff --git a/.github/workflows/regenerate-mlir-bindings.yml b/.github/workflows/regenerate-mlir-bindings.yml index a75bceedf..2bbb19c12 100644 --- a/.github/workflows/regenerate-mlir-bindings.yml +++ b/.github/workflows/regenerate-mlir-bindings.yml @@ -22,17 +22,26 @@ 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 + shell: julia --project=. --color=yes {0} + run: | + using Pkg + Pkg.instantiate() + 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 + - name: Generate MLIR Bindings + 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 + git config core.fileMode false - name: Format code shell: julia --color=yes {0} run: |