fix add -y for apt-get
Some checks failed
linux-mips64-gcc / linux-gcc-mips64el (push) Failing after 48s
linux-x64-gcc / linux-gcc (push) Failing after 1m22s

This commit is contained in:
tqcq 2023-12-13 13:04:36 +08:00
parent 91e96b17b2
commit 17b216911d
2 changed files with 17 additions and 16 deletions

View File

@ -2,20 +2,20 @@ name: linux-mips64-gcc
on:
push:
paths:
- '.gitea/workflows/linux-mips64-gcc.yml'
- 'toolchains/mips64el-linux-gnuabi64.toolchain.cmake'
- 'src/**'
- 'tests/**'
- 'CMakeLists.txt'
- 'cmake/**'
- ".gitea/workflows/linux-mips64-gcc.yml"
- "toolchains/mips64el-linux-gnuabi64.toolchain.cmake"
- "src/**"
- "tests/**"
- "CMakeLists.txt"
- "cmake/**"
pull_request:
paths:
- '.gitea/workflows/linux-mips64-gcc.yml'
- 'toolchains/mips64el-linux-gnuabi64.toolchain.cmake'
- 'src/**'
- 'tests/**'
- 'CMakeLists.txt'
- 'cmake/**'
- ".gitea/workflows/linux-mips64-gcc.yml"
- "toolchains/mips64el-linux-gnuabi64.toolchain.cmake"
- "src/**"
- "tests/**"
- "CMakeLists.txt"
- "cmake/**"
concurrency:
group: linux-mips64-gcc-${{ github.ref }}
@ -72,8 +72,8 @@ jobs:
- name: mips64el-gnuabi64-toolchain
run: |
sudo apt-get update
sudo apt-get install g++-mips64el-linux-gnuabi64
sudo apt-get update -y
sudo apt-get install -y g++-mips64el-linux-gnuabi64
- name: configure
run: |

View File

@ -28,7 +28,9 @@ jobs:
with:
submodules: true
- name: update
run: sudo apt-get update
run: |
sudo apt-get update -y
sudo apt-get install -y cmake make
- name: configure
run: |
@ -51,4 +53,3 @@ jobs:
- name: test-shared
run: |
cd build-shared && ctest --output-on-failure -j `nproc`