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

View File

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