diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..4ebe1f4 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @dakusui @kwallaschek @sukezan @clover-zhao @rinsyan0518 diff --git a/.github/workflows/build-and-verify.yml b/.github/workflows/build-and-verify.yml new file mode 100644 index 0000000..c4e2d89 --- /dev/null +++ b/.github/workflows/build-and-verify.yml @@ -0,0 +1,66 @@ +name: Build and Verify + +on: + workflow_dispatch: + pull_request: + branches: + - main + types: + - closed + - opened + - reopened + - synchronize + +jobs: + build: + runs-on: ubuntu-latest + + container: + image: mcr.microsoft.com/playwright/java:v1.45.1-jammy + + steps: + - name: Install dependencies + run: | + apt-get update && apt-get install -y \ + git \ + make \ + gettext-base \ + fonts-ipafont-gothic \ + fonts-ipafont-mincho \ + libasound2-dev \ + libc-dev-bin \ + libc-devtools \ + libc6-dev \ + libcrypt-dev \ + libgd3 \ + libjpeg-turbo8-dev \ + libjpeg8-dev \ + libnsl-dev \ + libtirpc-dev \ + linux-libc-dev \ + manpages \ + manpages-dev \ + rpcsvc-proto \ + liba52-0.7.4 \ + libgraphene-1.0-0 \ + libmpeg2-4 \ + libopencore-amrnb0 \ + libopencore-amrwb0 \ + libsidplay1v5 + + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Export environment variables + run: | + echo "JAVA_TOOL_OPTIONS=\"-Duser.home=${HOME}\"" >> $GITHUB_ENV + + - name: Set up JDK 21 + uses: actions/setup-java@v4 + with: + distribution: 'temurin' # AdoptOpenJDK is now Eclipse Temurin + java-version: '21' + cache: 'maven' + + - name: Build and Verify InspektorDog + run: mvn -B -Dmaven.javadoc.skip=true verify diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cfe1086 --- /dev/null +++ b/.gitignore @@ -0,0 +1,83 @@ +# Created by .ignore support plugin (hsz.mobi) +### Maven template +target/ + +pom.xml.tag +pom.xml.releaseBackup +pom.xml.versionsBackup +pom.xml.next +release.properties +dependency-reduced-pom.xml +buildNumber.properties +.mvn/timing.properties + +# Avoid ignoring Maven wrapper jar file (.jar files are usually ignored) +!/.mvn/wrapper/maven-wrapper.jar + +# BEGIN: Asciidoctor related +**/.asciidoctor/ +**/package-info.java +diag-*.png +.generated/ +# END: Asciidoctor related + +### Java template +# Compiled class file +*.class + +# Log file +*.log + +# BlueJ files +*.ctxt + +# Mobile Tools for Java (J2ME) +.mtj.tmp/ + +# Package Files # +*.jar +*.war +*.ear +*.zip +*.tar.gz +*.rar + +# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml +hs_err_pid* + +# Emacs backup files +*~ + +# IntelliJ's file +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/**/usage.statistics.xml +.idea/**/dictionaries +.idea/**/shelf +.idea/**/aws.xml +.idea/**/contentModel.xml +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml +.idea/**/dbnavigator.xml +.idea/artifacts +.idea/compiler.xml +.idea/jarRepositories.xml +.idea/modules.xml +.idea/*.iml +.idea/modules +*.iml +.idea/sonarlint/ +.idea/httpRequests + +# Auto-generated files +.dependencies +.homebrew +.go +.rc +.sdkman + +.env diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 0000000..a634547 --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,21 @@ + + + + + + + + + + \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 0000000..79ee123 --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..d8a7215 --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..41b154d --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,11 @@ + + + + \ No newline at end of file diff --git a/.idea/kotlinc.xml b/.idea/kotlinc.xml new file mode 100644 index 0000000..5700d46 --- /dev/null +++ b/.idea/kotlinc.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..051b188 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.idea/runConfigurations/Run_All_Tests.xml b/.idea/runConfigurations/Run_All_Tests.xml new file mode 100644 index 0000000..0a22646 --- /dev/null +++ b/.idea/runConfigurations/Run_All_Tests.xml @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + +