-
Notifications
You must be signed in to change notification settings - Fork 440
107 lines (95 loc) · 3.67 KB
/
Copy pathci.yml
File metadata and controls
107 lines (95 loc) · 3.67 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
###############################################################################
# Copyright (c) 2021 ArSysOp and others
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# https://www.eclipse.org/legal/epl-2.0/.
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# Alexander Fedorov (ArSysOp) - initial API and implementation
###############################################################################
name: CI
on:
push:
branches:
- master
pull_request:
pull_request_review_comment:
workflow_dispatch:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Clean up disk space
run: sudo rm -rf "/opt/ghc" && sudo rm -rf "/usr/local/share/boost" && sudo rm -rf $AGENT_TOOLSDIRECTORY
- name: Checkout
uses: actions/checkout@v1
- name: Set up OpenJDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Set up Maven
uses: stCarolas/setup-maven@v4.5
with:
maven-version: 3.9.11
- name: Set up Maven 2
run: echo "MAVEN_OPTS='-Xmx4096m'" > ~/.mavenrc
- name: Build with Maven
run: mvn clean verify --no-transfer-progress -U -DskipTests=false
# Upload each output as its own artifact (so they appear individually in the UI)
- name: Upload birt-report-designer linux aarch64
uses: actions/upload-artifact@v4
with:
name: birt-report-designer-linux-gtk-aarch64
if-no-files-found: error
compression-level: 0
path: build/birt-packages/birt-report-all-in-one/target/products/birt-report-designer-all-in-one-*-linux.gtk.aarch64.tar.gz
retention-days: 3
- name: Upload birt-report-designer linux x86_64
uses: actions/upload-artifact@v4
with:
name: birt-report-designer-linux-gtk-x86_64
if-no-files-found: error
compression-level: 0
path: build/birt-packages/birt-report-all-in-one/target/products/birt-report-designer-all-in-one-*-linux.gtk.x86_64.tar.gz
retention-days: 3
- name: Upload birt-report-designer macos aarch64
uses: actions/upload-artifact@v4
with:
name: birt-report-designer-macos-cocoa-aarch64
if-no-files-found: error
compression-level: 0
path: build/birt-packages/birt-report-all-in-one/target/products/birt-report-designer-all-in-one-*-macosx.cocoa.aarch64.tar.gz
retention-days: 3
- name: Upload birt-report-designer macos x86_64
uses: actions/upload-artifact@v4
with:
name: birt-report-designer-macos-cocoa-x86_64
if-no-files-found: error
compression-level: 0
path: build/birt-packages/birt-report-all-in-one/target/products/birt-report-designer-all-in-one-*-macosx.cocoa.x86_64.tar.gz
retention-days: 3
- name: Upload birt-report-designer windows x86_64
uses: actions/upload-artifact@v4
with:
name: birt-report-designer-win32-x86_64
if-no-files-found: error
compression-level: 0
path: build/birt-packages/birt-report-all-in-one/target/products/birt-report-designer-all-in-one-*-win32.win32.x86_64.zip
retention-days: 3
- name: Upload birt-report-designer windows aarch64
uses: actions/upload-artifact@v4
with:
name: birt-report-designer-win32-aarch64
if-no-files-found: error
compression-level: 0
path: build/birt-packages/birt-report-all-in-one/target/products/birt-report-designer-all-in-one-*-win32.win32.aarch64.zip
retention-days: 3