-
Notifications
You must be signed in to change notification settings - Fork 37
83 lines (69 loc) · 2.44 KB
/
compile.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
name: Compile
on:
pull_request:
push:
branches:
- main
jobs:
documentation:
name: Documentation with Paradox
runs-on: ubuntu-latest
env:
JAVA_OPTS: -Xms2G -Xmx2G -Xss2M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
steps:
- name: Checkout
# https://github.com/actions/checkout/releases
# v4.1.1
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Set up JDK 11
# https://github.com/coursier/setup-action/releases
# v1.3.4
uses: coursier/setup-action@48280172a2c999022e42527711d6b28e4945e6f0
with:
jvm: adopt:11
- name: Cache Coursier cache
# https://github.com/coursier/cache-action/releases
# v6.4.4
uses: coursier/cache-action@a0e7cd24be81bc84f0d7461e02bd1a96980553d7
- name: "Create site with Paradox"
run: cd docs && sbt makeSite
# - name: Run Link Validator
# run: cs launch net.runne::site-link-validator:0.2.2 -- scripts/link-validator.conf
samples:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- { directory: ftp-to-file }
- { directory: http-csv-to-kafka }
- { directory: jdbc-to-elasticsearch }
- { directory: jms }
- { directory: kafka-to-websocket-clients }
- { directory: kafka-to-elasticsearch }
- { directory: mqtt-to-kafka }
- { directory: file-to-elasticsearch }
- { directory: mqtt-http-to-s3-java }
- { directory: sqs-java }
- { directory: rotate-logs-to-ftp }
env:
JAVA_OPTS: -Xms2G -Xmx2G -Xss2M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
steps:
- name: Checkout
# https://github.com/actions/checkout/releases
# v4.1.1
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Set up JDK 11
# https://github.com/coursier/setup-action/releases
# v1.3.4
uses: coursier/setup-action@48280172a2c999022e42527711d6b28e4945e6f0
with:
jvm: adopt:11
- name: Cache Coursier cache
# https://github.com/coursier/cache-action/releases
# v6.4.4
uses: coursier/cache-action@a0e7cd24be81bc84f0d7461e02bd1a96980553d7
- name: ${{ matrix.directory }}
env:
DIRECTORY: ${{ matrix.directory }}
run: cd alpakka-sample-${DIRECTORY} && sbt compile