Skip to content

Commit 83cad9b

Browse files
committed
ci: core
1 parent 18f6cb0 commit 83cad9b

File tree

4 files changed

+37
-3
lines changed

4 files changed

+37
-3
lines changed

.github/workflows/core.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: build core
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
14+
15+
steps:
16+
- uses: actions/checkout@v4
17+
18+
- name: Set up JDK 21
19+
uses: actions/setup-java@v4
20+
with:
21+
java-version: '21'
22+
distribution: 'temurin'
23+
24+
- name: Setup Gradle
25+
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
26+
27+
- name: Build with Gradle Wrapper
28+
run: ./gradlew build -x test
29+
30+
- name: Upload Artifact
31+
uses: actions/upload-artifact@v4
32+
with:
33+
name: build
34+
path: build/

.github/workflows/natives-macos.yml renamed to .github/workflows/platform-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: build natives (macos)
1+
name: build platform (macos)
22

33
on:
44
push:

.github/workflows/natives-unix.yml renamed to .github/workflows/platform-unix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: build natives (unix)
1+
name: build platform (unix)
22

33
on:
44
push:

.github/workflows/natives-windows.yml renamed to .github/workflows/platform-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
name: build natives (windows)
2+
name: build platform (windows)
33

44
on:
55
push:

0 commit comments

Comments
 (0)