-
Notifications
You must be signed in to change notification settings - Fork 484
44 lines (40 loc) · 1.04 KB
/
ci.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
38
39
40
41
42
43
44
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
basic-check:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v3
# - uses: 01-ai/actions/lint@main
# build-and-push:
# needs: basic-check
# runs-on:
# - arc
# - cpu
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: Set proxy
# run: |
# echo "http_proxy=$http_proxy" >> $GITHUB_ENV
# echo "https_proxy=$https_proxy" >> $GITHUB_ENV
# - uses: 01-ai/actions/build_docker_image@main
# id: build-and-push
# with:
# registry: ${{ vars.VOLCES_REGISTRY }}
# namespace: ${{ vars.VOLCES_NAMESPACE }}
# tags: 'latest'
# username: ${{ secrets.VOLCES_USER }}
# password: ${{ secrets.VOLCES_TOKEN }}