29 lines
727 B
YAML
29 lines
727 B
YAML
name: murmur3 builds
|
|
on: [push, pull_request]
|
|
jobs:
|
|
build:
|
|
name: murmur3 on ${{ matrix.os }}
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [macos-latest, windows-latest, ubuntu-latest]
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: graalvm/setup-graalvm@v1
|
|
with:
|
|
version: '22.3.0'
|
|
java-version: '17'
|
|
components: 'native-image'
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
native-image-job-reports: 'true'
|
|
|
|
- name: Build murmur3
|
|
run: |
|
|
mvn -Pnative package
|
|
|
|
- name: Upload binary
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: murmur3-${{ matrix.os }}
|
|
path: murmur3* |