forked from RoaringBitmap/RoaringBitmap
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (23 loc) · 738 Bytes
/
macos.yml
File metadata and controls
29 lines (23 loc) · 738 Bytes
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
name: Java 21 CI macOS (Apple)
on: [push,pull_request]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- name: Build with Gradle
run: ./gradlew assemble
- name: Test with Gradle
id: test_macos_java21
run: ./gradlew test
- uses: actions/upload-artifact@v4 # upload test results if the test was not skipped
if: ${{ !cancelled() && steps.test_macos_java21.outcome != 'skipped'}}
with:
name: test-results-macos-j21
path: '*/build/test-results/**/*.xml'
overwrite: 'true'