Separate SML extraction and scanner from main code #1
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
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
- name: Cache Ant dependencies | |
uses: actions/cache@v3 | |
with: | |
path: ~/.ant | |
key: ${{ runner.os }}-ant-${{ hashFiles('**/build.xml') }} | |
restore-keys: | | |
${{ runner.os }}-ant- | |
- name: Build H2LJ with Ant | |
run: ant jar-h2lj | |
- name: Build main JAR with Ant | |
run: ant jar | |
- name: Build scanner with Ant | |
run: ant jar-scanner |