Skip to content

Commit

Permalink
Retry failed MSYS2 Meson builds
Browse files Browse the repository at this point in the history
  • Loading branch information
kcgen committed Jun 18, 2022
1 parent 802fb2d commit bb3dd1d
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/windows-meson-msys2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,9 @@ jobs:
- name: Build
run: |
set -xo pipefail
meson compile -C build |& tee build.log
until meson compile -C build |& tee build.log; do
echo "build failed, try again"
done
ccache -s
- name: Run tests
Expand Down Expand Up @@ -237,10 +239,17 @@ jobs:
run: meson setup -Db_lto=true -Db_lto_threads=$(nproc) $BUILD_FLAGS -Denable_debugger=normal $BUILD_DEBUGGER_DIR

- name: Build release
run: meson compile -C $BUILD_RELEASE_DIR
run: |
until meson compile -C $BUILD_RELEASE_DIR; do
echo "build failed, try again"
done
- name: Build debugger
run: meson compile -C $BUILD_DEBUGGER_DIR
run: |
until meson compile -C $BUILD_DEBUGGER_DIR; do
echo "build failed, try again"
done
- name: Package
run: |
Expand Down

0 comments on commit bb3dd1d

Please sign in to comment.