diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..7be3c60 --- /dev/null +++ b/.github/workflows/build.yaml @@ -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* \ No newline at end of file