mirror of
https://github.com/renbaoshuo/s2oj-gcc.git
synced 2024-12-27 20:21:54 +00:00
This commit is contained in:
parent
e1fd0532dc
commit
2da0c1bf83
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user