mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
Add build check to Github Actions, and make getrealdeps.rb failure trigger crew error (#9319)
* Add build check to Github Actions, and make getrealdeps.rb failure trigger crew abort Signed-off-by: Satadru Pramanik <satadru@gmail.com> * bump version Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
committed by
GitHub
parent
05c58e76c3
commit
4921e4656e
6
.github/workflows/Unit-Test.yml
vendored
6
.github/workflows/Unit-Test.yml
vendored
@@ -21,4 +21,8 @@ jobs:
|
||||
yes | crew install vim && \
|
||||
yes | crew remove vim && \
|
||||
cd ../tests && \
|
||||
./prop_test"
|
||||
./prop_test && \
|
||||
cd ~ && \
|
||||
git clone --depth=1 https://github.com/chromebrew/chromebrew.git build_test && \
|
||||
cd build_test && \
|
||||
yes | crew build -f packages/hello_world_chromebrew.rb"
|
||||
|
||||
2
bin/crew
2
bin/crew
@@ -1203,7 +1203,7 @@ def prepare_package(destdir)
|
||||
abort 'Exiting due to above errors.'.lightred if errors
|
||||
|
||||
# Make sure the package file has runtime dependencies added properly.
|
||||
system "#{CREW_LIB_PATH}/tools/getrealdeps.rb --use-crew-dest-dir #{@pkg.name}" unless @pkg.no_compile_needed?
|
||||
system "#{CREW_LIB_PATH}/tools/getrealdeps.rb --use-crew-dest-dir #{@pkg.name}", exception: true unless @pkg.no_compile_needed?
|
||||
# create directory list
|
||||
# Remove CREW_PREFIX and HOME from the generated directorylist.
|
||||
crew_prefix_escaped = CREW_PREFIX.gsub('/', '\/')
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# lib/const.rb
|
||||
# Defines common constants used in different parts of crew
|
||||
|
||||
CREW_VERSION = '1.43.2'
|
||||
CREW_VERSION = '1.43.3'
|
||||
|
||||
# kernel architecture
|
||||
KERN_ARCH = `uname -m`.chomp
|
||||
|
||||
Reference in New Issue
Block a user