File tree Expand file tree Collapse file tree 2 files changed +19
-6
lines changed Expand file tree Collapse file tree 2 files changed +19
-6
lines changed Original file line number Diff line number Diff line change 1313jobs :
1414 llvm-build :
1515 runs-on : macos-13
16+ defaults :
17+ run :
18+ working-directory : ./omnibus
19+
1620 steps :
1721 - name : Download Crystal source
1822 uses : actions/checkout@v4
@@ -26,10 +30,15 @@ jobs:
2630 sudo chown $(whoami) /opt/llvm/
2731 sudo mkdir -p /var/cache
2832 sudo chown $(whoami) /var/cache
29-
33+
34+ - name : Bundle
35+ run : bundle check || bundle install
36+
3037 - 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 1818
1919 command "tar czf #{ destination } /#{ tgz_name } #{ transform } -C #{ install_dir } ." ,
2020 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"
2125 end
2226end
You can’t perform that action at this time.
0 commit comments