-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.yml
55 lines (53 loc) · 1.31 KB
/
config.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
version: 2.1
orbs:
gh: circleci/[email protected]
sdkman: joshdholtz/[email protected]
jobs:
create-gh-release:
machine:
image: ubuntu-2004:current
resource_class: medium
steps:
- checkout
- gh/setup
- run:
name: "upload release asset"
command: gh release create "${CIRCLE_TAG}" -t "${CIRCLE_TAG}" -n "${CIRCLE_TAG}"
arm64-native:
machine:
image: ubuntu-2004:current
resource_class: arm.medium
steps:
- checkout
- sdkman/setup-sdkman
- sdkman/sdkman-install:
candidate: java
version: 22.3.1.r17-grl
- run:
name: "native compile"
command: "./mvnw -Pnative clean native:compile"
- gh/setup
- run:
name: "upload release asset"
command: gh release upload "${CIRCLE_TAG}" ./target/initializr-plusplus-linux-aarch_64
workflows:
create-gh-release:
jobs:
- create-gh-release:
context:
- dashaun-github
filters:
tags:
only: /^v.*/
branches:
ignore: /.*/
arm64-native-workflow:
jobs:
- arm64-native:
context:
- dashaun-github
filters:
tags:
only: /^v.*/
branches:
ignore: /.*/