Commit 6f52dde8 authored by tqcq's avatar tqcq
Browse files

feat: add retry for install tools

parent e0b07ff8
Loading
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -38,8 +38,13 @@ jobs:
    - uses: actions/checkout@v4
      with: 
        submodules: true

    - name: install-tools
      run: |
      uses: nick-fields/retry@v3
      with:
        timeout_minutes: 5
        max_attempts: 3
        command: |
          sudo apt-get update -y
          sudo apt-get install -y ninja-build

+7 −3
Original line number Diff line number Diff line
@@ -39,7 +39,11 @@ jobs:
        with:
          submodules: recursive
      - name: install-tools
        run: |
        uses: nick-fields/retry@v3
        with:
          timeout_minutes: 5
          max_attempts: 3
          command: |
            sudo apt-get update -y
            sudo apt-get install -y g++-aarch64-linux-gnu qemu-user-binfmt ninja-build
      - name: configure
+7 −3
Original line number Diff line number Diff line
@@ -65,7 +65,11 @@ jobs:
        with:
          submodules: recursive
      - name: arm-gnu-toolchain
        run: |
        uses: nick-fields/retry@v3
        with:
          timeout_minutes: 5
          max_attempts: 3
          command: |
            sudo apt-get update -y
            sudo apt-get install -y g++-arm-linux-gnueabihf qemu-user-binfmt ninja-build
      - name: configure
+7 −3
Original line number Diff line number Diff line
@@ -36,7 +36,11 @@ jobs:
        with:
          submodules: recursive
      - name: install-tools
        run: |
        uses: nick-fields/retry@v3
        with:
          timeout_minutes: 5
          max_attempts: 3
          command: |
            sudo apt-get update -y
            sudo apt-get install -y g++-mipsel-linux-gnu qemu-user-binfmt ninja-build
      - name: configure
+7 −3
Original line number Diff line number Diff line
@@ -37,7 +37,11 @@ jobs:
        with:
          submodules: recursive
      - name: install-tools
        run: |
        uses: nick-fields/retry@v3
        with:
          timeout_minutes: 5
          max_attempts: 3
          command: |
            sudo apt-get update -y
            sudo apt-get install -y g++-mips64el-linux-gnuabi64 qemu-user-binfmt ninja-build
      - name: configure
Loading