File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 1
- name : Regenerate MLIR Dialects
1
+ name : Regenerate MLIR Bindings
2
2
on :
3
3
schedule :
4
4
- cron : ' 0 0 * * *'
@@ -22,22 +22,27 @@ jobs:
22
22
run : |
23
23
import Pkg
24
24
Pkg.add("JuliaFormatter")
25
+ - run : julia --project=. -e 'using Pkg; pkg"instantiate"'
26
+ working-directory : ./deps/ReactantExtra
25
27
- run : julia make-bindings.jl
26
28
working-directory : ./deps/ReactantExtra
27
- - run : chmod -R u+rw ./src/mlir/Dialects/
29
+ - run : |
30
+ chmod -R u+rw ./src/mlir/Dialects/
31
+ chmod u+rw ./src/mlir/libMLIR_h.jl
28
32
- name : Format code
29
33
shell : julia --color=yes {0}
30
34
run : |
31
35
using JuliaFormatter
32
36
format("./src/mlir/Dialects/")
37
+ format("./src/mlir/libMLIR_h.jl")
33
38
- name : Create Pull Request
34
39
id : cpr
35
40
uses : peter-evans/create-pull-request@v7
36
41
with :
37
42
token : ${{ secrets.GITHUB_TOKEN }}
38
- commit-message : Regenerate MLIR Dialects
39
- title : ' Regenerate MLIR Dialects '
40
- branch : regenerate-dialects
43
+ commit-message : Regenerate MLIR Bindings
44
+ title : ' Regenerate MLIR Bindings '
45
+ branch : regenerate-mlir-bindings
41
46
delete-branch : true
42
47
- name : Check outputs
43
48
run : |
You can’t perform that action at this time.
0 commit comments