1
0
mirror of https://github.com/renbaoshuo/s2oj-gcc.git synced 2024-11-09 20:58:44 +00:00
s2oj-gcc/.drone.yml

22 lines
405 B
YAML
Raw Normal View History

2023-11-16 12:04:05 +00:00
---
kind: pipeline
type: docker
name: Build
trigger:
event:
- push
- custom
steps:
- name: Build & Upload
image: ubuntu:22.04
commands:
- sudo apt update && sudo apt install libgmp-dev libmpfr-dev libmpc-dev gcc-multilib
- bash build.sh
environment:
GITEA_ENDPOINT: https://git.m.ac
GITEA_USER: baoshuo
GITEA_TOKEN:
from_secret: GITEA_TOKEN