diff --git a/.github/workflows/abi.yml b/.github/workflows/abi.yml index c08125988..e2b471f16 100644 --- a/.github/workflows/abi.yml +++ b/.github/workflows/abi.yml @@ -16,6 +16,11 @@ jobs: with: path: current + - name: fix flaky azure mirrors + if: ${{ runner.os == 'Linux' }} + run: | + sudo sed -i 's/azure\./de\./' /etc/apt/sources.list + - name: install abidiff run: sudo apt-get update && sudo apt-get install -y abigail-tools diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5661ab96c..93eccbfaf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,6 +33,11 @@ jobs: run: | echo "OPENSSL_ROOT_DIR=/usr/local/opt/openssl" >> $GITHUB_ENV + - name: fix flaky azure mirrors + if: ${{ runner.os == 'Linux' }} + run: | + sudo sed -i 's/azure\./de\./' /etc/apt/sources.list + - name: install packages if: ${{ runner.os == 'Linux' }} run: | diff --git a/.github/workflows/c99.yml b/.github/workflows/c99.yml index 18b8a511d..2a22bab5b 100644 --- a/.github/workflows/c99.yml +++ b/.github/workflows/c99.yml @@ -18,6 +18,11 @@ jobs: steps: - uses: actions/checkout@v3 + - name: fix flaky azure mirrors + if: ${{ runner.os == 'Linux' }} + run: | + sudo sed -i 's/azure\./de\./' /etc/apt/sources.list + - name: install packages run: | sudo apt-get update && sudo apt-get install -y ninja-build diff --git a/.github/workflows/clang-analyze.yml b/.github/workflows/clang-analyze.yml index 1c8d56166..25fc64629 100644 --- a/.github/workflows/clang-analyze.yml +++ b/.github/workflows/clang-analyze.yml @@ -18,6 +18,11 @@ jobs: steps: - uses: actions/checkout@v3 + - name: fix flaky azure mirrors + if: ${{ runner.os == 'Linux' }} + run: | + sudo sed -i 's/azure\./de\./' /etc/apt/sources.list + - name: Install clang-tools run: | wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index c5510a18d..7d9d682e7 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -18,6 +18,11 @@ jobs: steps: - uses: actions/checkout@v3 + - name: fix flaky azure mirrors + if: ${{ runner.os == 'Linux' }} + run: | + sudo sed -i 's/azure\./de\./' /etc/apt/sources.list + - name: install packages run: | sudo apt-get update && sudo apt-get install -y ninja-build diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml index 00620159e..3626637d8 100644 --- a/.github/workflows/mingw.yml +++ b/.github/workflows/mingw.yml @@ -10,6 +10,12 @@ jobs: CMAKE_GENERATOR: Ninja steps: + + - name: fix flaky azure mirrors + if: ${{ runner.os == 'Linux' }} + run: | + sudo sed -i 's/azure\./de\./' /etc/apt/sources.list + - name: "install packages" run: | sudo apt-get update && sudo apt-get install -y mingw-w64 ninja-build diff --git a/.github/workflows/sanitizers.yml b/.github/workflows/sanitizers.yml index e130f526a..fee98b971 100644 --- a/.github/workflows/sanitizers.yml +++ b/.github/workflows/sanitizers.yml @@ -25,6 +25,11 @@ jobs: steps: - uses: actions/checkout@v3 + - name: fix flaky azure mirrors + if: ${{ runner.os == 'Linux' }} + run: | + sudo sed -i 's/azure\./de\./' /etc/apt/sources.list + - name: install packages run: | sudo apt-get update && sudo apt-get install -y ninja-build diff --git a/.github/workflows/ssl.yml b/.github/workflows/ssl.yml index 97c58b226..f9a78d9b0 100644 --- a/.github/workflows/ssl.yml +++ b/.github/workflows/ssl.yml @@ -16,6 +16,11 @@ jobs: steps: - uses: actions/checkout@v3 + - name: fix flaky azure mirrors + if: ${{ runner.os == 'Linux' }} + run: | + sudo sed -i 's/azure\./de\./' /etc/apt/sources.list + - name: install packages run: | sudo apt-get update && sudo apt-get install -y ninja-build diff --git a/.github/workflows/valgrind.yml b/.github/workflows/valgrind.yml index 24fee4303..3f4dd099c 100644 --- a/.github/workflows/valgrind.yml +++ b/.github/workflows/valgrind.yml @@ -12,6 +12,11 @@ jobs: steps: - uses: actions/checkout@v3 + - name: fix flaky azure mirrors + if: ${{ runner.os == 'Linux' }} + run: | + sudo sed -i 's/azure\./de\./' /etc/apt/sources.list + - name: install packages run: | sudo apt-get update && sudo apt-get install -y libssl-dev valgrind ninja-build