Skip to content

Merge branch 'soot-oss:develop' into framework #17

Merge branch 'soot-oss:develop' into framework

Merge branch 'soot-oss:develop' into framework #17

Workflow file for this run

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Soot CI
on:
push:
pull_request:
jobs:
BuildAndTest:
name: Build and Test with java ${{ matrix.java_version }}
runs-on: ubuntu-latest
strategy:
matrix:
java_version: ['8', '9', '11']
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Java ${{ matrix.java_version }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java_version }}
- name: Build and test Java ${{ matrix.java_version }}
run: |
bash ASM/build-project.sh
mvn -B clean test -PJava${{ matrix.java_version }}
- name: Build Release
if: startsWith(github.ref, 'refs/tags/')
run: |
bash ASM/build-project.sh
mvn clean compile assembly:single source:jar
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
target/sootclasses-trunk-jar-with-dependencies.jar
target/sootclasses-trunk-sources.jar