mirror of https://github.com/alibaba/arthas.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
name: build vmtool
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
linux:
|
|
runs-on: ubuntu-18.04
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up JDK 8
|
|
uses: actions/setup-java@v2
|
|
with:
|
|
java-version: '8'
|
|
distribution: 'adopt'
|
|
- name: Build with Maven
|
|
run: ./mvnw package
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: lib
|
|
path: arthas-vmtool/target/lib*
|
|
|
|
mac:
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up JDK 8
|
|
uses: actions/setup-java@v2
|
|
with:
|
|
java-version: '8'
|
|
distribution: 'adopt'
|
|
- name: Build with Maven
|
|
run: ./mvnw package
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: lib
|
|
path: arthas-vmtool/target/lib*
|
|
|
|
windows:
|
|
runs-on: windows-2019
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up JDK 8
|
|
uses: actions/setup-java@v2
|
|
with:
|
|
java-version: '8'
|
|
distribution: 'adopt'
|
|
- name: Build with Maven
|
|
run: ./mvnw package
|
|
- uses: actions/upload-artifact@v2
|
|
with:
|
|
name: lib
|
|
path: arthas-vmtool/target/*.dll |