update at 2023-02-23 11:13:50 by ehlxr

This commit is contained in:
ehlxr 2023-02-23 11:13:50 +08:00
parent 3ff52e71ec
commit 8178e50ab6

29
.github/workflows/build.yaml vendored Normal file
View File

@ -0,0 +1,29 @@
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*