update script #162
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
name: Build project | |
#workflow_dispatch -- for manual trigger | |
on: [ push, workflow_dispatch ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
- name: Install JFlex | |
run: | | |
sudo apt-get install -y jflex | |
- name: Install ANTLR4 files | |
run: | | |
sudo apt-get install antlr4 | |
- name: Generate files | |
run: | | |
./benchmarks/scripts/generate_all.sh | |
- name: Build with Gradle | |
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0 | |
with: | |
arguments: build |