-
Notifications
You must be signed in to change notification settings - Fork 10
59 lines (48 loc) · 1.73 KB
/
create_cli_java.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
name: Create cli-java Template
on:
push:
paths-ignore:
- "tests/**"
- "docs/**"
pull_request:
paths-ignore:
- "tests/**"
- "docs/**"
jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[ci skip]')"
strategy:
matrix:
python: [3.8, 3.9]
steps:
- uses: actions/checkout@v3
name: Check out source-code repository
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install Poetry
run: pip install poetry
- name: Build package
run: make install
- uses: actions/checkout@v3
- uses: DeLaGuardo/setup-graalvm@48f2bf339ab7d35e31029b1822a213681fdfc42e
with:
graalvm-version: "20.1.0.java11"
- run: java -version
- run: gu install native-image
- name: Create cli-java Template
run: echo -e "\n\033[B\nHomer\[email protected]\nhomergithub\n\nnExplodingSpringfield\ndescription\n1.0.0\n\ngroup_domain\ngroup_organization\nn" | poetry run cookietemple create
- name: Build with Gradle
run: |
cd explodingspringfield
make binary
pwd
ls -a
- name: Install doc dependencies
run: pip install -r docs/requirements.txt
- name: Build docs
run: |
cd docs
make html