-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (33 loc) · 917 Bytes
/
build.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
name: Build
on: [ push, pull_request ]
jobs:
build-mirai:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Build all
uses: gradle/gradle-build-action@v2
with:
arguments: assemble
- name: All Tests
uses: gradle/gradle-build-action@v2
with:
arguments: |
check
-Dmirai.network.show.all.components=true
-Dkotlinx.coroutines.debug=on
-Dmirai.network.show.packet.details=true
- name: Upload build artifacts
uses: ./.github/actions/upload-build-artifacts