Skip to content

Commit

Permalink
workaround: skip DDNet on arm32 actions update tests
Browse files Browse the repository at this point in the history
due to rust-lang/cargo#8719 which itself is an issue with libgit2

DDNet will still be tested on ARM64 (the bullseye ARM64 image)
  • Loading branch information
theofficialgman committed Jan 11, 2023
1 parent 0ff4470 commit 10e55a7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/update_apps.yml
Expand Up @@ -153,8 +153,11 @@ jobs:
# attempt to install updated apps using manage script loop
# if any app fails, checkout the previous version and add it to the /tmp/failed_update_apps file
for app in "${changed_apps[@]}"; do
./manage install "$app" || { git checkout -- "apps/$app"; echo "**Failed to install $app, reverting to previous version.**" >> /tmp/failed_update_apps; UPDATED_APPS=$(echo "$UPDATED_APPS" | sed "/$app/d"); }
./manage uninstall "$app" || { git checkout -- "apps/$app"; echo "**Failed to uninstall $app, reverting to previous version.**" >> /tmp/failed_update_apps; UPDATED_APPS=$(echo "$UPDATED_APPS" | sed "/$app/d"); }
# skip checking DDNet (due to Rust) if on arm32 under QEMU: https://github.com/rust-lang/cargo/issues/8719
if [ "$app" != "DDNet" ]; then
./manage install "$app" || { git checkout -- "apps/$app"; echo "**Failed to install $app, reverting to previous version.**" >> /tmp/failed_update_apps; UPDATED_APPS=$(echo "$UPDATED_APPS" | sed "/$app/d"); }
./manage uninstall "$app" || { git checkout -- "apps/$app"; echo "**Failed to uninstall $app, reverting to previous version.**" >> /tmp/failed_update_apps; UPDATED_APPS=$(echo "$UPDATED_APPS" | sed "/$app/d"); }
fi
done
if test -f /tmp/failed_update_apps; then
Expand Down

0 comments on commit 10e55a7

Please sign in to comment.