Skip to content

Merge pull request #511 from dromara/master #357

Merge pull request #511 from dromara/master

Merge pull request #511 from dromara/master #357

Workflow file for this run

name: build jvmti
on: [push]
jobs:
linux:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
- name: Build with Maven
run: |
cd ${{ github.workspace }}/jvmti/jvmti-build
mvn package
- uses: actions/upload-artifact@v3
with:
name: lib
path: jvmti/jvmti-build/target/classes/lib*
if-no-files-found: error
mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
- name: Build with Maven
run: |
cd ${{ github.workspace }}/jvmti/jvmti-build
mvn package
- uses: actions/upload-artifact@v3
with:
name: lib
path: jvmti/jvmti-build/target/classes/lib*
if-no-files-found: error
windows:
runs-on: windows-2019
steps:
- uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
- name: Build with Maven
run: |
cd ${{ github.workspace }}/jvmti/jvmti-build
mvn package
- uses: actions/upload-artifact@v3
with:
name: lib
path: jvmti/jvmti-build/target/classes/*.dll
if-no-files-found: error