Minor changes to testcases. #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |