forked from signalapp/Signal-Server
-
Notifications
You must be signed in to change notification settings - Fork 0
64 lines (51 loc) · 1.5 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: CI Build and Run Signal-Server
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v2
- name: Set up JDK 23
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '23'
- name: Clone Signal-Server repository
run: |
git clone https://github.com/offsoc/Signal-Server.git
cd Signal-Server
- name: Go offline with Maven dependencies
run: |
cd Signal-Server
./mvnw dependency:go-offline
- name: Clean and install without tests
run: |
cd Signal-Server
./mvnw clean install -DskipTests -Pexclude-spam-filter
- name: Upload compiled artifacts
uses: actions/upload-artifact@v3
with:
name: signal-server-artifacts
path: Signal-Server/service/target/*.jar
- name: Upload compiled artifacts
uses: actions/upload-artifact@v3
with:
name: websocket-resources-artifacts
path: Signal-Server/websocket-resources/target/*.jar
- name: Upload compiled artifacts
uses: actions/upload-artifact@v3
with:
name: api-doc-artifacts
path: Signal-Server/api-doc/target/*.jar
- name: Upload compiled artifacts
uses: actions/upload-artifact@v3
with:
name: integration-tests-artifacts
path: Signal-Server/integration-tests/target/*.jar