From 8178e50ab676a93b974eae69de682902f90dc2ae Mon Sep 17 00:00:00 2001 From: ehlxr Date: Thu, 23 Feb 2023 11:13:50 +0800 Subject: [PATCH] update at 2023-02-23 11:13:50 by ehlxr --- .github/workflows/build.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/build.yaml 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