feature add deps
Some checks failed
linux-mips64-gcc / linux-gcc-mips64el (push) Failing after 1m23s

This commit is contained in:
tqcq 2023-12-05 18:47:04 +08:00
parent 8685cddf76
commit 8bb7667036

View File

@ -28,21 +28,12 @@ jobs:
linux-gcc-mips64el: linux-gcc-mips64el:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: cache-qemu - name: cache-qemu
id: cache-qemu id: cache-qemu
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
path: qemu-install path: qemu-install
key: qemu-mips64el-install-20220502-2 key: qemu-mips64el-install-20220502-2
- name: install-qemu-build-deps
if: steps.cache-qemu.outputs.cache-hit != 'true'
run: |
sudo apt-get update -y
sudo apt-get install -y autoconf automake autotools-dev ninja-build
- name: checkout-qemu - name: checkout-qemu
#uses: actions/checkout@v4 #uses: actions/checkout@v4
@ -54,6 +45,12 @@ jobs:
git fetch origin f5643914a9e8f79c606a76e6a9d7ea82a3fc3e65 git fetch origin f5643914a9e8f79c606a76e6a9d7ea82a3fc3e65
git checkout f5643914a9e8f79c606a76e6a9d7ea82a3fc3e65 git checkout f5643914a9e8f79c606a76e6a9d7ea82a3fc3e65
- name: install-qemu-build-deps
if: steps.cache-qemu.outputs.cache-hit != 'true'
run: |
sudo apt-get update -y
sudo apt-get install -y autoconf automake autotools-dev ninja-build
- name: qemu - name: qemu
if: steps.cache-qemu.outputs.cache-hit != 'true' if: steps.cache-qemu.outputs.cache-hit != 'true'
run: | run: |
@ -67,6 +64,10 @@ jobs:
sudo apt-get update sudo apt-get update
sudo apt-get install g++-mips64el-linux-gnuabi64 sudo apt-get install g++-mips64el-linux-gnuabi64
- uses: actions/checkout@v4
with:
submodules: true
- name: configure - name: configure
run: | run: |
mkdir build && cd build mkdir build && cd build