mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
Update meson, rebuild libpsl (#10132)
* meson => 1.5 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * rebuild libpsl Signed-off-by: Satadru Pramanik <satadru@gmail.com> * suggested changes Signed-off-by: Satadru Pramanik <satadru@gmail.com> * suggested changes, use M90 & M91 containwrs for unit tests. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * use our bash in unit tests Signed-off-by: Satadru Pramanik <satadru@gmail.com> * adjust done logic Signed-off-by: Satadru Pramanik <satadru@gmail.com> * do not look at ALL_CHANGED_FILES unless it is not empty Signed-off-by: Satadru Pramanik <satadru@gmail.com> * adjust bash logic Signed-off-by: Satadru Pramanik <satadru@gmail.com> * fix case for non-existent variable check Signed-off-by: Satadru Pramanik <satadru@gmail.com> * use different bash test Signed-off-by: Satadru Pramanik <satadru@gmail.com> * change bash logic again 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
53e15e0dbc
commit
f4cfd30c1f
16
.github/workflows/Unit-Test.yml
vendored
16
.github/workflows/Unit-Test.yml
vendored
@@ -24,7 +24,7 @@ jobs:
|
||||
ALL_CHANGED_FILES: ${{ steps.changed-ruby-files.outputs.all_changed_files }}
|
||||
- name: Unit Tests (x86_64)
|
||||
run: |
|
||||
sudo docker run --rm -t satmandu/crewbuild:amd64 sudo -i -u chronos /bin/bash -c "
|
||||
sudo docker run --rm -t satmandu/crewbuild:m90-x86_64 sudo -i -u chronos /bin/bash -c "
|
||||
echo \"CREW_REPO is ${{ github.event.pull_request.head.repo.clone_url }}\" && \
|
||||
echo \"CREW_BRANCH is ${{ github.head_ref }}\" && \
|
||||
CREW_REPO=${{ github.event.pull_request.head.repo.clone_url }} CREW_BRANCH=${{ github.head_ref }} crew update && \
|
||||
@@ -34,10 +34,10 @@ jobs:
|
||||
ruby ../tests/commands/const.rb && \
|
||||
ruby ../tests/commands/help.rb && \
|
||||
ruby ../tests/commands/prop.rb && \
|
||||
for file in ${ALL_CHANGED_FILES}; do
|
||||
( [[ -v ALL_CHANGED_FILES ]] && [[ -n ALL_CHANGED_FILES ]] && ( for file in ${ALL_CHANGED_FILES}; do
|
||||
ruby ../tests/prop_test $file && \
|
||||
ruby ../tests/buildsystem_test $file && \
|
||||
done && \
|
||||
ruby ../tests/buildsystem_test $file ; \
|
||||
done ) || true ) && \
|
||||
cd ~ && \
|
||||
git clone --depth=1 https://github.com/chromebrew/chromebrew.git build_test && \
|
||||
cd build_test && \
|
||||
@@ -47,7 +47,7 @@ jobs:
|
||||
# This is not the best way to do things, a matrix would certainly be better.
|
||||
- name: Unit Tests (armv7l)
|
||||
run: |
|
||||
sudo docker run --platform linux/arm/v7 --rm -t satmandu/crewbuild:arm32v7 sudo -i -u chronos /bin/bash -c "
|
||||
sudo docker run --platform linux/arm/v7 --rm -t satmandu/crewbuild:m91-armv7l sudo -i -u chronos /bin/bash -c "
|
||||
echo \"CREW_REPO is ${{ github.event.pull_request.head.repo.clone_url }}\" && \
|
||||
echo \"CREW_BRANCH is ${{ github.head_ref }}\" && \
|
||||
CREW_REPO=${{ github.event.pull_request.head.repo.clone_url }} CREW_BRANCH=${{ github.head_ref }} crew update && \
|
||||
@@ -57,10 +57,10 @@ jobs:
|
||||
ruby ../tests/commands/const.rb && \
|
||||
ruby ../tests/commands/help.rb && \
|
||||
ruby ../tests/commands/prop.rb && \
|
||||
for file in ${ALL_CHANGED_FILES}; do
|
||||
( [[ -v ALL_CHANGED_FILES ]] && [[ -n ALL_CHANGED_FILES ]] && ( for file in ${ALL_CHANGED_FILES}; do
|
||||
ruby ../tests/prop_test $file && \
|
||||
ruby ../tests/buildsystem_test $file && \
|
||||
done && \
|
||||
ruby ../tests/buildsystem_test $file ; \
|
||||
done ) || true ) && \
|
||||
cd ~ && \
|
||||
git clone --depth=1 https://github.com/chromebrew/chromebrew.git build_test && \
|
||||
cd build_test && \
|
||||
|
||||
Reference in New Issue
Block a user