File tree 2 files changed +19
-6
lines changed
2 files changed +19
-6
lines changed Original file line number Diff line number Diff line change 13
13
jobs :
14
14
llvm-build :
15
15
runs-on : macos-13
16
+ defaults :
17
+ run :
18
+ working-directory : ./omnibus
19
+
16
20
steps :
17
21
- name : Download Crystal source
18
22
uses : actions/checkout@v4
@@ -26,10 +30,15 @@ jobs:
26
30
sudo chown $(whoami) /opt/llvm/
27
31
sudo mkdir -p /var/cache
28
32
sudo chown $(whoami) /var/cache
29
-
33
+
34
+ - name : Bundle
35
+ run : bundle check || bundle install
36
+
30
37
- name : Build
31
- run : |
32
- cd omnibus
33
- bundle check || bundle install --binstubs
34
- bundle exec omnibus build llvm
35
- ls -la omnibus/pkg
38
+ run : bundle exec omnibus build llvm --log-level debug --override use_git_caching:false
39
+
40
+ - uses : actions/upload-artifact@v3
41
+ with :
42
+ name : llvm-archive
43
+ path : omnibus/pkg/*.tar.gz
44
+ retention-days : 1
Original file line number Diff line number Diff line change 18
18
19
19
command "tar czf #{ destination } /#{ tgz_name } #{ transform } -C #{ install_dir } ." ,
20
20
env : { "COPYFILE_DISABLE" => "1" }
21
+
22
+ # NOTE: For environments not in English, git_cache function expected to see message `nothing to commit`.
23
+ # It creates a empty file to commit something.
24
+ command "date > #{ install_dir } /tgz_package_done.log"
21
25
end
22
26
end
You can’t perform that action at this time.
0 commit comments