Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Dockerfile with example and updated README file #86

Open
wants to merge 101 commits into
base: gradle-build
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
2d45b09
first commit
Jun 10, 2022
364306f
Merge branch 'master' of https://github.com/SymbolicPathFinder/jpf-sy…
Jun 10, 2022
9b10b82
added jpf-core as submodule project
Jun 10, 2022
2880aed
removing files
Jun 10, 2022
2358b1d
removing file
Jun 10, 2022
ce1db0e
removing unrequired files
Jun 10, 2022
c679584
added some code
Jun 11, 2022
92b19be
modification
Jun 12, 2022
7ae684c
settings.gradle removed subproject
Jun 13, 2022
c3407d4
changes
Jun 13, 2022
365d13b
changes
Jun 13, 2022
7dc1bf6
changes
Jun 14, 2022
74d17b4
changes
Jun 14, 2022
f9d7c1a
added build-properties.xml
Jun 14, 2022
32aecca
Removing Unwanted comments
Jun 14, 2022
eba018b
changes
Jun 16, 2022
65c882a
changes
Jun 20, 2022
a4bbad7
Upgraded the gradle versionn from 5.4.1 to 6.9
Jun 23, 2022
f0d8d96
adding jpf-core as submodule
Jun 23, 2022
a41afdd
removing unwanted files
Jun 23, 2022
b0d69a8
added submodule
Jun 23, 2022
50e79d5
changes in dependencies
Jun 23, 2022
dd02de7
remove submodule
Jul 11, 2022
b953304
remove file
Jul 11, 2022
633b8b2
changes
Jul 11, 2022
8761b64
Merge branch 'SymbolicPathFinder:master' into main-gk
gaurangkudale Jul 14, 2022
64ef1b0
adding jpf-core as git-submodule and declaring jpf-socre dependencies
Jul 22, 2022
4347a4b
changes
Jul 22, 2022
c85f372
removing unwanted files
Jul 22, 2022
faa63eb
removing files
Jul 22, 2022
ec0d9ed
Updating .gitignore
Jul 22, 2022
bfe737d
Added / Pulling dependencies from mavencentral repo and removing some…
Jul 22, 2022
ead47fe
changes
Jul 23, 2022
794c9f3
Restructuring of jpf-symbc
Aug 1, 2022
ec608c6
changes in jpf-symbc dependencies
Aug 4, 2022
4f730ee
removing jars
Aug 4, 2022
29c5e2c
Updating .gitingnore
Aug 4, 2022
43a2914
commented copyJpfCoreJars tesk
Aug 4, 2022
6d58671
Removing coyCoreJars task
Aug 4, 2022
136bd02
removing unwanted blocks
Aug 8, 2022
61ae275
Adding github workflow / github Actions
Aug 8, 2022
369a53e
small changes
Aug 8, 2022
3c68726
changes in task
gaurangkudale Aug 8, 2022
c94f586
testing
gaurangkudale Aug 8, 2022
6f0f7d1
commenting dependencies
Aug 8, 2022
a19e744
Merge branch 'main-gk' of https://github.com/gaurangkudale/jpf-symbc …
Aug 8, 2022
48debf8
small changes
Aug 8, 2022
d4eff67
changes
Aug 8, 2022
5615c19
changing to build
Aug 8, 2022
14f8d5c
changes
Aug 8, 2022
29f2095
commenting
Aug 8, 2022
8dce325
minor changes
Aug 8, 2022
2e2070c
changs in jobs
Aug 8, 2022
657c70a
changing build statement
gaurangkudale Aug 8, 2022
8b1d62a
testing
gaurangkudale Aug 9, 2022
9cd8958
changes in testing
gaurangkudale Aug 9, 2022
18e298d
changes
gaurangkudale Aug 9, 2022
e173ef1
cganges
gaurangkudale Aug 9, 2022
40850dc
revisiting
gaurangkudale Aug 9, 2022
abc8d50
changes in run:
gaurangkudale Aug 9, 2022
952490d
small changes in run:
gaurangkudale Aug 9, 2022
13186fa
Update gradle-publish.yml
gaurangkudale Aug 9, 2022
b63684c
added recursive tag
Aug 9, 2022
816b343
small update
Aug 9, 2022
3440459
testing jpf-core dir
Aug 9, 2022
23a4072
printing current working dir
Aug 9, 2022
6a33c15
adding git version check
Aug 9, 2022
0d13dab
commenting for testing
Aug 9, 2022
311bfeb
uncommenting changes
Aug 9, 2022
0108e51
adding new runner
Aug 9, 2022
849d210
git submodule update
Aug 10, 2022
ba7369b
removing unwanted runner "test"
Aug 10, 2022
c6792cb
Some Requested changes are done
Aug 18, 2022
75063c2
changes in main.yml
Aug 18, 2022
3954389
Testing CI for git-submodule
Aug 19, 2022
da60cd5
CI update
Aug 19, 2022
32ee4e0
CI update
Aug 19, 2022
d029ecd
update submodule
Aug 19, 2022
eeffae1
update in main.yml
Aug 19, 2022
5f740b2
Update README.md
gaurangkudale Aug 22, 2022
c9dd591
Update README.md
gaurangkudale Aug 22, 2022
67db6e9
Adding versioning to jpf-symbc
Aug 22, 2022
5fbf21c
Update README.md
gaurangkudale Aug 23, 2022
0de3cc1
removing green from dependencies
Aug 24, 2022
6a6696e
Merge branch 'main-gk' of https://github.com/gaurangkudale/SPF into m…
Aug 24, 2022
a0fbebf
Update Submodule
Aug 31, 2022
801dd12
Added Comment in dependencies
Sep 3, 2022
ab7cab3
Updating (jpf-core) submodule
Sep 3, 2022
643cf60
Fixed typos and grammar issues, simplified some minor parts.
yannicnoller Sep 6, 2022
c25d564
Adding run example from cmd
gaurangkudale Sep 8, 2022
8101dc7
simplifed example by not using Z3
yannicnoller Nov 26, 2022
fdd5cf0
fixed some typos and added quick start guide
yannicnoller Nov 26, 2022
6a00e76
updated README
yannicnoller Nov 26, 2022
6d3dfbd
typo fixes and small addition
yannicnoller Nov 26, 2022
3396ef1
small change in README
yannicnoller Nov 26, 2022
cb0b105
fixing headers in README
yannicnoller Nov 26, 2022
3585fe8
Update README.md
gaurangkudale Nov 26, 2022
6f34718
Merge branch 'gradle-build' into SPF
yannicnoller Jan 20, 2023
08b0fc3
adding dockerfile and shellscript
gaurangkudale Jun 19, 2023
5177e7c
Merge branch 'SPF' of https://github.com/gaurangkudale/SPF into SPF
gaurangkudale Jul 10, 2023
7a2b65d
Update README.md
gaurangkudale Jul 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
40 changes: 0 additions & 40 deletions .classpath

This file was deleted.

19 changes: 0 additions & 19 deletions .externalToolBuilders/Ant_Builder.launch

This file was deleted.

53 changes: 53 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Gradle Package

on:
push:
branches: [ main-gk ]

pull_request:
branches: [ main-gk ]
workflow_dispatch:


jobs:

build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]


steps:

- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0


- name: Updating Git-submodule
run: |
git submodule update --init --recursive
git submodule foreach --recursive git fetch
git submodule foreach git merge origin master

- name: Set up JDK 1.8
uses: actions/setup-java@v3
with:
java-version: 8
distribution: 'adopt'
cache: gradle


- name: Building jpf-symbc with Gradle
run: |
git submodule update --recursive
./gradlew :jpf-core:buildJars
./gradlew :jpf-symbc:buildJar


- name: Testing jpf-symbc with Junit version 4.2
run: |
./gradlew :jpf-symbc:test
77 changes: 71 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,78 @@
.hg
.hgignore
# Ignore Gradle project-specific cache directory
.gradle

# Ignore Gradle build output directory
build
local.properties
.version
nbproject/private/*
build/*
dist/*
tmp/*
build.properties

####### General #######
*.swo
trace
activity*.png
*.class
*.orig
*~
*.DS_Store

####### Ant #######
build/

####### Gradle #######
.gradle/
reports/

####### Covers NetBeans IDE #######
nbproject/private/
nbbuild/
dist/
nbdist/
.nb-gradle/

####### Covers Eclipse IDE #######
.idea/
.metadata
tmp/
*.tmp
*.bak
*.swp
*~.nib
.settings/
.loadpath
.recommenders
.classpath
.project

####### Covers JetBrains IDE: IntelliJ #######
*.iml
*.ipr

# User-specific stuff:
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/dictionaries
.idea/ant.xml

# Sensitive or high-churn files:
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml

# Gradle:
.idea/**/gradle.xml
.idea/**/libraries

## File-based project format:
*.iws

## Plugin-specific files:

# IntelliJ
out/

# JIRA plugin
atlassian-ide-plugin.xml
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "jpf-core"]
path = jpf-core
url = https://github.com/javapathfinder/jpf-core
27 changes: 0 additions & 27 deletions .project

This file was deleted.

23 changes: 23 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Step 1: Base image with Ubuntu
FROM ubuntu:latest
# Step 2: Install OpenJDK 8 and Gradle
RUN apt-get update && \
apt-get install -y openjdk-8-jdk && \
apt-get install -y unzip wget && \
apt-get clean
RUN apt-get update && apt-get install -y dos2unix && apt-get clean
RUN apt-get install -y git
# Download and install Gradle
ENV GRADLE_VERSION 6.9
RUN wget -q https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip && \
unzip -q gradle-${GRADLE_VERSION}-bin.zip -d /opt && \
rm gradle-${GRADLE_VERSION}-bin.zip
ENV GRADLE_HOME=/opt/gradle-${GRADLE_VERSION}
ENV PATH=${GRADLE_HOME}/bin:${PATH}
# Step 3: Set the working directory
WORKDIR /app
# Step 4: Copy files from the current directory to the working directory
COPY . .
RUN dos2unix /app/entrypoint.sh && chmod +x /app/entrypoint.sh
# Step 5: Run a Bash script
CMD ["/bin/bash", "entrypoint.sh"]
Loading