Skip to content

Commit

Permalink
Refactor regenerate-mlir-bindings.yml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mofeing committed Oct 28, 2024
1 parent c071271 commit 8946a78
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/regenerate-mlir-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 8946a78

Please sign in to comment.