From e6e194fb68673774da0b79bad97647fe3d019b98 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 13 Apr 2026 20:12:36 +0300 Subject: [PATCH] migration --- .gitattributes | 1 + .gitea/workflows/array-queue.yml | 17 ++++++++++++ .gitea/workflows/clj-example.yml | 14 ++++++++++ .gitea/workflows/clj-linear.yml | 14 ++++++++++ .gitea/workflows/exception.yml | 17 ++++++++++++ .gitea/workflows/generic.yml | 17 ++++++++++++ .gitea/workflows/js-example.yml | 26 +++++++++++++++++++ .gitea/workflows/js-expressions.yml | 26 +++++++++++++++++++ .gitea/workflows/js-objective-expressions.yml | 19 ++++++++++++++ .gitea/workflows/js-prefix.yml | 18 +++++++++++++ .gitea/workflows/queues.yml | 17 ++++++++++++ .gitea/workflows/search.yml | 17 ++++++++++++ .gitignore | 3 +++ 13 files changed, 206 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitea/workflows/array-queue.yml create mode 100644 .gitea/workflows/clj-example.yml create mode 100644 .gitea/workflows/clj-linear.yml create mode 100644 .gitea/workflows/exception.yml create mode 100644 .gitea/workflows/generic.yml create mode 100644 .gitea/workflows/js-example.yml create mode 100644 .gitea/workflows/js-expressions.yml create mode 100644 .gitea/workflows/js-objective-expressions.yml create mode 100644 .gitea/workflows/js-prefix.yml create mode 100644 .gitea/workflows/queues.yml create mode 100644 .gitea/workflows/search.yml create mode 100644 .gitignore diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..dfdb8b7 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.sh text eol=lf diff --git a/.gitea/workflows/array-queue.yml b/.gitea/workflows/array-queue.yml new file mode 100644 index 0000000..7fbff05 --- /dev/null +++ b/.gitea/workflows/array-queue.yml @@ -0,0 +1,17 @@ +name: Array Queue Test +on: + push: + pull_request: +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Compile Java + run: | + mkdir -p out + javac -d out $(find java common -name "*.java") + - name: Run Queue tests + run: | + java -ea --add-opens java.base/java.util=ALL-UNNAMED -cp out queue.ArrayQueueTest Base 3233 3435 3637 3839 diff --git a/.gitea/workflows/clj-example.yml b/.gitea/workflows/clj-example.yml new file mode 100644 index 0000000..3bb7112 --- /dev/null +++ b/.gitea/workflows/clj-example.yml @@ -0,0 +1,14 @@ +name: Clojure Example Test +on: + push: + pull_request: +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Run Clojure Example tests + working-directory: clojure + run: | + ./TestClojure.sh cljtest.example.ExampleTest hard base diff --git a/.gitea/workflows/clj-linear.yml b/.gitea/workflows/clj-linear.yml new file mode 100644 index 0000000..f17d364 --- /dev/null +++ b/.gitea/workflows/clj-linear.yml @@ -0,0 +1,14 @@ +name: Clojure Linear Test +on: + push: + pull_request: +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Run Clojure Linear tests + working-directory: clojure + run: | + ./TestClojure.sh cljtest.linear.LinearTest hard base diff --git a/.gitea/workflows/exception.yml b/.gitea/workflows/exception.yml new file mode 100644 index 0000000..8ba81e0 --- /dev/null +++ b/.gitea/workflows/exception.yml @@ -0,0 +1,17 @@ +name: Exception Test +on: + push: + pull_request: +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Compile Java + run: | + mkdir -p out + javac -d out $(find java common -name "*.java") + - name: Run Exception tests + run: | + java -ea -cp out expression.exceptions.ExceptionsTest hard base 3233 3435 3637 3839 diff --git a/.gitea/workflows/generic.yml b/.gitea/workflows/generic.yml new file mode 100644 index 0000000..cde9b16 --- /dev/null +++ b/.gitea/workflows/generic.yml @@ -0,0 +1,17 @@ +name: Generic Test +on: + push: + pull_request: +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Compile Java + run: | + mkdir -p out + javac -d out $(find java common -name "*.java") + - name: Run Generic tests + run: | + java -ea -cp out expression.generic.GenericTest hard base 3233 3435 3637 3839 diff --git a/.gitea/workflows/js-example.yml b/.gitea/workflows/js-example.yml new file mode 100644 index 0000000..7c186d4 --- /dev/null +++ b/.gitea/workflows/js-example.yml @@ -0,0 +1,26 @@ +name: JavaScript Example Test +on: + push: + pull_request: +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Compile + run: | + javac \ + -encoding utf-8 \ + -d javascript/__out \ + --class-path "javascript/graal/*:common:javascript" \ + javascript/jstest/example/ExampleTest.java + - name: Run JavaScript Example tests + working-directory: javascript + run: | + java -ea \ + --enable-native-access=org.graalvm.truffle \ + -Dsun.misc.unsafe.memory.access=allow \ + --module-path=graal \ + --class-path=__out \ + jstest.example.ExampleTest hard base diff --git a/.gitea/workflows/js-expressions.yml b/.gitea/workflows/js-expressions.yml new file mode 100644 index 0000000..834ca74 --- /dev/null +++ b/.gitea/workflows/js-expressions.yml @@ -0,0 +1,26 @@ +name: JavaScript Expressions Test +on: + push: + pull_request: +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Compile + run: | + javac \ + -encoding utf-8 \ + -d javascript/__out \ + --class-path "javascript/graal/*:common:javascript" \ + javascript/jstest/functional/FunctionalTest.java + - name: Run JavaScript Expressions tests + working-directory: javascript + run: | + java -ea \ + --enable-native-access=org.graalvm.truffle \ + -Dsun.misc.unsafe.memory.access=allow \ + --module-path=graal \ + --class-path=__out \ + jstest.functional.FunctionalTest hard base 3233 3435 3637 3839 diff --git a/.gitea/workflows/js-objective-expressions.yml b/.gitea/workflows/js-objective-expressions.yml new file mode 100644 index 0000000..3b3e375 --- /dev/null +++ b/.gitea/workflows/js-objective-expressions.yml @@ -0,0 +1,19 @@ +name: JavaScript Objective Expressions Test +on: + push: + pull_request: +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Run JavaScript Objective Expressions tests + working-directory: javascript + run: | + ./TestJS.sh jstest.object.ObjectTest bonus Base + ./TestJS.sh jstest.object.ObjectTest bonus 3233 + ./TestJS.sh jstest.object.ObjectTest bonus 3435 + ./TestJS.sh jstest.object.ObjectTest bonus 3637 + ./TestJS.sh jstest.object.ObjectTest bonus 3839 + ./TestJS.sh jstest.object.ObjectTest bonus Simplify diff --git a/.gitea/workflows/js-prefix.yml b/.gitea/workflows/js-prefix.yml new file mode 100644 index 0000000..74ba84e --- /dev/null +++ b/.gitea/workflows/js-prefix.yml @@ -0,0 +1,18 @@ +name: JavaScript Prefix Test +on: + push: + pull_request: +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Run JavaScript Prefix tests + working-directory: javascript + run: | + ./TestJS.sh jstest.prefix.PrefixTest hard Base + ./TestJS.sh jstest.prefix.PrefixTest hard 3233 + ./TestJS.sh jstest.prefix.PrefixTest hard 3435 + ./TestJS.sh jstest.prefix.PostfixTest hard 3637 + ./TestJS.sh jstest.prefix.PostfixTest hard 3839 diff --git a/.gitea/workflows/queues.yml b/.gitea/workflows/queues.yml new file mode 100644 index 0000000..b9af223 --- /dev/null +++ b/.gitea/workflows/queues.yml @@ -0,0 +1,17 @@ +name: Queues Test +on: + push: + pull_request: +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Compile Java + run: | + mkdir -p out + javac -d out $(find java common -name "*.java") + - name: Run Queue tests + run: | + java -ea --add-opens java.base/java.util=ALL-UNNAMED -cp out queue.QueueTest Base 3233 3435 3637 3839 diff --git a/.gitea/workflows/search.yml b/.gitea/workflows/search.yml new file mode 100644 index 0000000..a969de6 --- /dev/null +++ b/.gitea/workflows/search.yml @@ -0,0 +1,17 @@ +name: Binary Search Test +on: + push: + pull_request: +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Compile Java + run: | + mkdir -p out + javac -d out $(find java common -name "*.java") + - name: Run Binary Search tests + run: | + java -ea -cp out search.BinarySearchTest Base 3233 3435 3637 3839 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a8a0461 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.class +*.iml +.idea