File tree Expand file tree Collapse file tree 1 file changed +58
-0
lines changed
Expand file tree Collapse file tree 1 file changed +58
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Run Smoke Tests for zen-internals
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+
9+ jobs :
10+ smoke-test-native :
11+ name : Smoke Test (${{ matrix.os }}, Java 21)
12+ runs-on : ${{ matrix.os }}
13+ strategy :
14+ fail-fast : false
15+ matrix :
16+ os : [ubuntu-latest, windows-latest, macos-latest]
17+ steps :
18+ - name : Check out code
19+ uses : actions/checkout@v4
20+
21+ - name : Set up JDK 21
22+ uses : actions/setup-java@v4
23+ with :
24+ java-version : ' 21'
25+ distribution : ' temurin'
26+
27+ - name : Build with Gradle
28+ working-directory : ./
29+ run : |
30+ chmod +x gradlew
31+ make binaries
32+ make build
33+
34+ - name : Run RustSQLInterfaceTest
35+ working-directory : ./
36+ run : |
37+ ./gradlew test --tests "vulnerabilities.RustSQLInterfaceTest" --info
38+
39+ smoke-test-alpine :
40+ name : Smoke Test (Alpine musl, Java 21)
41+ runs-on : ubuntu-latest
42+ steps :
43+ - name : Check out code
44+ uses : actions/checkout@v4
45+
46+ - name : Build with Gradle (native)
47+ working-directory : ./
48+ run : |
49+ chmod +x gradlew
50+ make binaries
51+ make build
52+
53+ - name : Run RustSQLInterfaceTest on eclipse-temurin:21-jdk-alpine
54+ run : |
55+ docker run --rm -v "$(pwd):/app" -w /app eclipse-temurin:21-jdk-alpine sh -c "
56+ chmod +x gradlew && \
57+ ./gradlew test --tests 'vulnerabilities.RustSQLInterfaceTest' --info
58+ "
You can’t perform that action at this time.
0 commit comments