-
Notifications
You must be signed in to change notification settings - Fork 37
71 lines (57 loc) · 1.77 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
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
uses: actions/checkout@v2
- name: Set up JDK 11
uses: coursier/setup-action@v1
with:
jvm: adopt:11
- name: Cache Coursier cache
uses: coursier/cache-action@v6
- 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
uses: actions/checkout@v2
- name: Set up JDK 11
uses: coursier/setup-action@v1
with:
jvm: adopt:11
- name: Cache Coursier cache
uses: coursier/cache-action@v6
- name: ${{ matrix.directory }}
env:
DIRECTORY: ${{ matrix.directory }}
run: cd alpakka-sample-${DIRECTORY} && sbt compile