diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index abd74c5e9..fd584ce5d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,7 +54,7 @@ jobs: ${{ github.workspace }}/packages/*.sha256 macos-build: - runs-on: macos-14 + runs-on: macos-13 strategy: fail-fast: false matrix: @@ -76,6 +76,7 @@ jobs: run: cmake --build . --config RelWithDebInfo --verbose --target all --target waf_test -j $(getconf _NPROCESSORS_ONLN) working-directory: ${{ github.workspace }}/build - name: Test + if: matrix.arch == 'x86_64' run: ${{ github.workspace }}/build/tests/waf_test working-directory: ${{ github.workspace }}/tests - name: Build Packages @@ -95,7 +96,7 @@ jobs: ${{ github.workspace }}/packages/*.sha256 macos-universal-package: - runs-on: macos-14 + runs-on: macos-13 needs: [macos-build] steps: - uses: actions/checkout@v4 @@ -228,14 +229,30 @@ jobs: install: true - run: docker build --progress=plain --build-arg "ARCH=${{ matrix.target.arch }}" -f docker/libddwaf/build/Dockerfile -o packages . - name: Smoketest musl (gcc) - run: docker build --progress=plain --platform ${{ matrix.target.platform }} --build-arg "ARCH=${{ matrix.target.arch }}" -f docker/libddwaf/smoketest/musl/Dockerfile . + uses: nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # v3 + with: + timeout_minutes: 10 + max_attempts: 3 + command: docker build --progress=plain --platform ${{ matrix.target.platform }} --build-arg "ARCH=${{ matrix.target.arch }}" -f docker/libddwaf/smoketest/musl/Dockerfile . - name: Smoketest musl (clang) - run: docker build --progress=plain --platform ${{ matrix.target.platform }} --build-arg "ARCH=${{ matrix.target.arch }}" -f docker/libddwaf/smoketest/musl_llvm/Dockerfile . + uses: nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # v3 + with: + timeout_minutes: 10 + max_attempts: 3 + command: docker build --progress=plain --platform ${{ matrix.target.platform }} --build-arg "ARCH=${{ matrix.target.arch }}" -f docker/libddwaf/smoketest/musl_llvm/Dockerfile . - name: Smoketest gnu (gcc) - run: docker build --progress=plain --platform ${{ matrix.target.platform }} --build-arg "ARCH=${{ matrix.target.arch }}" -f docker/libddwaf/smoketest/gnu/Dockerfile . + uses: nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # v3 + with: + timeout_minutes: 10 + max_attempts: 3 + command: docker build --progress=plain --platform ${{ matrix.target.platform }} --build-arg "ARCH=${{ matrix.target.arch }}" -f docker/libddwaf/smoketest/gnu/Dockerfile . - name: Smoketest gnu rhel 6 (gcc) if: matrix.target.qemu_action_arch == 'amd64' - run: docker build --progress=plain --platform ${{ matrix.target.platform }} --build-arg "ARCH=${{ matrix.target.arch }}" -f docker/libddwaf/smoketest/gnu_rhel6/Dockerfile . + uses: nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # v3 + with: + timeout_minutes: 10 + max_attempts: 3 + command: docker build --progress=plain --platform ${{ matrix.target.platform }} --build-arg "ARCH=${{ matrix.target.arch }}" -f docker/libddwaf/smoketest/gnu_rhel6/Dockerfile . - name: Generate Package sha256 working-directory: packages run: for file in *.tar.gz; do sha256sum "$file" > "$file.sha256"; done