2 Commits
Author SHA1 Message Date
tesses50 33ad13ca2b Rebase on tessesframework 0.0.12, add offline updating of the shell
Build and Deploy on Tag / update-tap (push) Successful in 11s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-x64:latest, x86_64-linux-gnu, amd64, asrock) (push) Successful in 1m19s
Build and Deploy on Tag / 🔨 Build for PowerPC (push) Successful in 1m22s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-arm64:latest, aarch64-linux-gnu, arm64, asrock) (push) Successful in 1m22s
Build and Deploy on Tag / docker (push) Successful in 2m0s
Build and Deploy on Tag / windows (push) Successful in 2m32s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-riscv64:latest, riscv64-linux-gnu, riscv64, msi-walmart) (push) Successful in 2m42s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-x86:latest, i386-linux-gnu, 386, msi-walmart) (push) Successful in 2m49s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-arm:latest, arm-linux-gnueabihf, arm7, msi-walmart) (push) Successful in 2m50s
2026-11-21 19:58:55 -06:00
tesses50 41e1ac2592 Fix the event loop so it isn't 100% CPU utilization
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-x64:latest, x86_64-linux-gnu, amd64, asrock) (push) Successful in 1m0s
Build and Deploy on Tag / 🔨 Build for PowerPC (push) Successful in 1m0s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-arm64:latest, aarch64-linux-gnu, arm64, asrock) (push) Successful in 1m2s
Build and Deploy on Tag / docker (push) Successful in 1m33s
Build and Deploy on Tag / update-tap (push) Successful in 1m56s
Build and Deploy on Tag / windows (push) Successful in 2m10s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-riscv64:latest, riscv64-linux-gnu, riscv64, msi-walmart) (push) Successful in 2m30s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-x86:latest, i386-linux-gnu, 386, msi-walmart) (push) Successful in 2m36s
Build and Deploy on Tag / 🔨 Build for everything else (git.tesses.org/tesses50/linux-arm:latest, arm-linux-gnueabihf, arm7, msi-walmart) (push) Successful in 2m37s
2026-10-30 01:58:47 -05:00
6 changed files with 69 additions and 44 deletions
+29 -25
View File
@@ -5,7 +5,7 @@ on:
- 'v*'
env:
TF_VERSION: 0.0.10
TF_VERSION: 0.0.12
PACKAGE_AND_BREW: ${{ secrets.PACKAGE_AND_BREW }}
VERSION: ${{ gitea.ref_name }}
RESULT_IMAGE_NAME: tesses50/crosslang
@@ -15,15 +15,13 @@ env:
jobs:
build-ppc:
name: "🔨 Build for PowerPC"
runs-on: msi-walmart
runs-on: asrock
container:
image: git.tesses.org/tesses50/linux-ppc:latest
steps:
- uses: actions/checkout@v4
- run: bash build-for-ppc.sh
- uses: akkuman/gitea-release-action@v1
env:
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
with:
prerelease: true
files: |-
@@ -32,15 +30,15 @@ jobs:
build-packages:
name: "🔨 Build for everything else"
strategy:
fail-fast: true
fail-fast: false
matrix:
include:
- container: "git.tesses.org/tesses50/linux-x64:latest"
puter: "msi-walmart"
puter: "asrock"
nfpmName: "amd64"
debianName: "x86_64-linux-gnu"
- container: "git.tesses.org/tesses50/linux-x86:latest"
puter: "asrock"
puter: "msi-walmart"
nfpmName: "386"
debianName: "i386-linux-gnu"
- container: "git.tesses.org/tesses50/linux-arm:latest"
@@ -54,7 +52,7 @@ jobs:
- container: "git.tesses.org/tesses50/linux-riscv64:latest"
nfpmName: "riscv64"
debianName: "riscv64-linux-gnu"
puter: "asrock"
puter: "msi-walmart"
runs-on: ${{ matrix.puter }}
container:
image: ${{ matrix.container }}
@@ -62,30 +60,15 @@ jobs:
- uses: actions/checkout@v4
- run: bash build-for-nfpm.sh ${{ matrix.nfpmName }} ${{ matrix.debianName }}
- uses: akkuman/gitea-release-action@v1
env:
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
with:
prerelease: true
files: |-
artifacts/**
update-tap:
docker:
runs-on: asrock
container: git.tesses.org/tesses50/global-containers-mingw:latest
steps:
- uses: actions/checkout@v4
- run: |
mkdir -p artifacts
env -C Packaging/Windows bash build.sh
- uses: akkuman/gitea-release-action@v1
env:
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
with:
prerelease: true
files: |-
artifacts/**
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to registry
@@ -100,7 +83,14 @@ jobs:
context: .
file: ./Dockerfile
push: true
tags: ${{ env.GITEA_DOMAIN }}/${{ env.RESULT_IMAGE_NAME }}:latest
tags: |
${{ env.GITEA_DOMAIN }}/${{ env.RESULT_IMAGE_NAME }}:latest
${{ env.GITEA_DOMAIN }}/${{ env.RESULT_IMAGE_NAME }}:${{ env.VERSION }}
update-tap:
runs-on: r420
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
ref: "master"
@@ -115,3 +105,17 @@ jobs:
git add .
git commit -m "Push crosslang=${{ env.VERSION }}"
git push
windows:
runs-on: asrock
container: git.tesses.org/tesses50/global-containers-mingw:latest
steps:
- uses: actions/checkout@v4
- run: |
mkdir -p artifacts
env -C Packaging/Windows bash build.sh
- uses: akkuman/gitea-release-action@v1
with:
prerelease: true
files: |-
artifacts/**
+6
View File
@@ -1,5 +1,11 @@
# Changelog
## 0.0.14
Rebase on tessesframework 0.0.12, add offline updating of the shell
## 0.0.13
Fix the event loop so it isn't 100% CPU utilization
## 0.0.12
Fix fetchcontent, add constant time compare for bytearray
+1 -1
View File
@@ -5,7 +5,7 @@ set(CROSSLANG_STATIC ${TESSESFRAMEWORK_STATIC} CACHE INTERNAL "For CrossLang" FO
FetchContent_Declare(
TessesFramework
GIT_REPOSITORY https://git.tesses.org/tesses50/tessesframework.git
GIT_TAG d99001d6ebb957272f399dd371bf571c8c16f248
GIT_TAG f6f81bf9099e672300a0cd51c3cb0f1c2d1e54e7
)
set(TESSESFRAMEWORK_ENABLE_EXAMPLES OFF)
FetchContent_MakeAvailable(TessesFramework)
+1 -1
View File
@@ -1,3 +1,3 @@
set(CROSSLANG_MAJOR_VERSION 0)
set(CROSSLANG_MINOR_VERSION 0)
set(CROSSLANG_PATCH_VERSION 12)
set(CROSSLANG_PATCH_VERSION 14)
+13
View File
@@ -112,6 +112,7 @@ TObject CrossLangShell(GCList &ls, std::vector<std::string> &argv) {
auto subdir =
std::make_shared<Tesses::Framework::Filesystem::SubdirFilesystem>(
Tesses::Framework::Filesystem::LocalFS, dir);
if (argv.size() == 2) {
HttpRequest req;
req.followRedirects = true;
req.url = "https://redirect.tesses.net/crosslang-shell";
@@ -129,7 +130,19 @@ TObject CrossLangShell(GCList &ls, std::vector<std::string> &argv) {
<< std::endl;
return (int64_t)1;
}
} else {
if (Tesses::Framework::Filesystem::LocalFS->FileExists(argv[2])) {
auto strm = Tesses::Framework::Filesystem::LocalFS->OpenFile(
argv[2], "rb");
CrossLang::CrossArchiveExtract(strm, subdir);
return (int64_t)0;
} else {
Tesses::Framework::Console::WriteView("Unable to open file \"");
Tesses::Framework::Console::WriteView(argv[2]);
Tesses::Framework::Console::WriteLineView("\"");
return (int64_t)1;
}
}
}
if (!Tesses::Framework::Filesystem::LocalFS->RegularFileExists(filename)) {
+3 -1
View File
@@ -85,7 +85,9 @@ int main(int argc, char **argv) {
"file, used to be crossdump");
Console::WriteLine("vm: interpert bytecode file, "
"used to be crossvm");
Console::WriteLine("update-shell: update the shell");
Console::WriteLine(
"update-shell: update the shell (can update offline now "
"if you pass a crvm as another argument)");
Console::WriteLine(
"configdir: print the config directory");