1
0
mirror of https://github.com/renbaoshuo/s2oj-gcc.git synced 2024-12-27 20:21:54 +00:00

fix: ci
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Baoshuo Ren 2023-11-16 20:18:54 +08:00
parent e1fd0532dc
commit 2da0c1bf83
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -12,7 +12,10 @@ steps:
- name: Build & Upload
image: ubuntu:22.04
commands:
- sudo apt update && sudo apt install libgmp-dev libmpfr-dev libmpc-dev gcc-multilib
- sed -i 's@//.*archive.ubuntu.com@//mirror-cdn.xtom.com@g' /etc/apt/sources.list &&
sed -i 's@//security.ubuntu.com@//mirror-cdn.xtom.com@g' /etc/apt/sources.list
- apt update &&
apt install -y git make gcc libgmp-dev libmpfr-dev libmpc-dev gcc-multilib
- bash build.sh
environment:
GITEA_ENDPOINT: https://git.m.ac