-
Notifications
You must be signed in to change notification settings - Fork 10
37 lines (28 loc) · 951 Bytes
/
verify.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: verify
on:
pull_request:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v1
- name: Install boost
run: sudo apt install -y libboost-dev
- name: Install dependencies
run: pip3 install -U online-judge-verify-helper
- name: Clone AC Library
run: cd ${GITHUB_WORKSPACE}/../ && git clone https://github.com/atcoder/ac-library.git
- name: Add AC Library to CPLUS_INCLUDE_PATH
run: echo "CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:${GITHUB_WORKSPACE}/../ac-library" >> $GITHUB_ENV
- name: Run tests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_PAT: ${{ secrets.GH_PAT }}
YUKICODER_TOKEN: ${{ secrets.YUKICODER_TOKEN }}
DROPBOX_TOKEN: ${{ secrets.DROPBOX_TOKEN }}
run: oj-verify all --jobs 2 --tle 20 --timeout 3600