Skip to content

Commit 393c6bb

Browse files
committed
add ci
1 parent ecaf243 commit 393c6bb

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

.github/workflows/ci.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Auto-sqlancer CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
build-images:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout code
12+
uses: actions/checkout@v4
13+
14+
- name: Set up Python
15+
uses: actions/setup-python@v5
16+
with:
17+
python-version: '3.11'
18+
19+
- name: Set up Java
20+
uses: actions/setup-java@v4
21+
with:
22+
distribution: 'temurin'
23+
java-version: '17'
24+
25+
- name: Set up Docker
26+
run: docker --version
27+
28+
- name: Build sqlancer image
29+
run: python3 start.py build --sqlancer
30+
31+
- name: Build DBMS images
32+
run: python3 start.py build --dbms all
33+
test-all:
34+
runs-on: ubuntu-latest
35+
steps:
36+
- name: Checkout code
37+
uses: actions/checkout@v4
38+
39+
- name: Set up Python
40+
uses: actions/setup-python@v5
41+
with:
42+
python-version: '3.11'
43+
44+
- name: Set up Java
45+
uses: actions/setup-java@v4
46+
with:
47+
distribution: 'temurin'
48+
java-version: '17'
49+
50+
- name: Set up Docker
51+
run: docker --version
52+
53+
- name: Test all DBMSs
54+
run: python3 start.py test --dbms all

0 commit comments

Comments
 (0)