Skip to content

Commit 6181384

Browse files
authored
Merge pull request #42 from FormalLanguageConstrainedPathQuerying/new_main
Merge updated version of gll engine and API
2 parents 149d737 + 165a0c2 commit 6181384

File tree

511 files changed

+46631
-268
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

511 files changed

+46631
-268
lines changed

.github/workflows/build.yml

Lines changed: 24 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,36 @@
1-
name: Build
1+
name: Build project
22

3-
on: [ push, pull_request, workflow_dispatch ]
4-
5-
env:
6-
GRADLE_BUILD_ACTION_CACHE_DEBUG_ENABLED: true
3+
#workflow_dispatch -- for manual trigger
4+
on: [ push, workflow_dispatch ]
75

86
jobs:
97
build:
10-
strategy:
11-
matrix:
12-
os: [ ubuntu-latest, macos-latest, windows-latest ]
13-
runs-on: ${{ matrix.os }}
8+
9+
runs-on: ubuntu-latest
1410

1511
steps:
1612
- name: Checkout
17-
uses: actions/checkout@v4
13+
uses: actions/checkout@v3
1814

19-
- name: Setup JDK 11
15+
- name: Set up JDK 11
2016
uses: actions/setup-java@v3
2117
with:
22-
distribution: temurin
23-
java-version: 11
18+
java-version: '11'
19+
distribution: 'temurin'
2420

25-
- name: Execute Gradle `build` task
26-
uses: gradle/gradle-build-action@v2
27-
with:
28-
arguments: build --scan
29-
cache-read-only: |
30-
${{ github.ref != 'refs/heads/main' &&
31-
github.ref != 'refs/heads/dev' }}
32-
gradle-home-cache-includes: |
33-
caches
34-
notifications
35-
jdks
36-
37-
- name: Upload `build` report
38-
if: always()
39-
uses: actions/upload-artifact@v3
21+
- name: Install JFlex
22+
run: |
23+
sudo apt-get install -y jflex
24+
25+
- name: Install ANTLR4 files
26+
run: |
27+
sudo apt-get install antlr4
28+
29+
- name: Generate files
30+
run: |
31+
./benchmarks/scripts/generate_all.sh
32+
33+
- name: Build with Gradle
34+
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
4035
with:
41-
name: BuildReport-${{ matrix.os }}
42-
path: build/reports/
36+
arguments: build

.gitignore

Lines changed: 19 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,31 @@
1-
# Compiled class file
2-
*.class
3-
41
# Log file
52
*.log
6-
7-
# BlueJ files
8-
*.ctxt
9-
10-
# Mobile Tools for Java (J2ME)
11-
.mtj.tmp/
12-
13-
# Package Files #
14-
*.jar
15-
*.war
16-
*.nar
17-
*.ear
18-
*.zip
19-
*.tar.gz
20-
*.rar
21-
22-
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
23-
hs_err_pid*
3+
*.logs
244

255
.gradle
26-
build/
276
!gradle/wrapper/gradle-wrapper.jar
28-
!**/src/main/**/build/
29-
!**/src/test/**/build/
7+
**/build/
308

319
### IntelliJ IDEA ###
3210
.idea
33-
34-
### Eclipse ###
35-
.apt_generated
36-
.classpath
37-
.factorypath
38-
.project
39-
.settings
40-
.springBeans
41-
.sts4-cache
42-
bin/
43-
!**/src/main/**/bin/
44-
!**/src/test/**/bin/
45-
46-
### NetBeans ###
47-
/nbproject/private/
48-
/nbbuild/
49-
/dist/
50-
/nbdist/
51-
/.nb-gradle/
52-
11+
./test-shared/gen
5312
### VS Code ###
5413
.vscode/
5514

5615
### Mac OS ###
57-
.DS_Store
16+
.DS_Store
17+
18+
### Generated files ###
19+
/benchmarks/gen/
20+
/benchmarks/logs/
21+
22+
### Antlr parsers ###
23+
/benchmarks/src/main/java/org/antlr/*
24+
!/benchmarks/src/main/java/org/antlr/*.g4
25+
26+
### Jflex scanner ###
27+
/benchmarks/src/main/java/org/ucfs/scanner/*
28+
!/benchmarks/src/main/java/org/ucfs/scanner/*.flex
29+
30+
### Large datasets ###
31+
/benchmarks/src/test/resources/java/correct/*

0 commit comments

Comments
 (0)