9 Commits

Author SHA1 Message Date
25d67053cc Overhaul cmake configuration, add console api, fix http code that caused issues with cgi-bin
All checks were successful
Build and Deploy on Tag / 🔨 Build for Arch Linux/Static Builds (push) Successful in 1m18s
Build and Deploy on Tag / 🔨 Build win32 and update the tap 🍺 (push) Successful in 1m19s
2026-05-27 04:08:53 -05:00
4aef8c0c1a Overhaul cmake configuration, add console api, fix http code that caused issues with cgi-bin
Some checks failed
Build and Deploy on Tag / 🔨 Build for Arch Linux/Static Builds (push) Successful in 1m11s
Build and Deploy on Tag / 🔨 Build win32 and update the tap 🍺 (push) Failing after 1m6s
2026-05-27 04:04:39 -05:00
9288859af5 Removing static builds due to failures
Some checks failed
Build and Deploy on Tag / 🔨 Build for Arch Linux/Static Builds (push) Successful in 1m10s
Build and Deploy on Tag / 🔨 Build win32 and update the tap 🍺 (push) Failing after 32s
2026-05-27 03:53:31 -05:00
535057c4db Overhaul cmake configuration, add console api, fix http code that caused issues with cgi-bin
Some checks failed
Build and Deploy on Tag / 🔨 Build for Arch Linux/Static Builds (push) Failing after 8m14s
Build and Deploy on Tag / 🔨 Build win32 and update the tap 🍺 (push) Failing after 33s
2026-05-27 03:33:45 -05:00
ccfa5eeeb3 Overhaul cmake configuration, add console api, fix http code that caused issues with cgi-bin
Some checks failed
Build and Deploy on Tag / 🔨 Build win32 and update the tap 🍺 (push) Failing after 2s
Build and Deploy on Tag / 🔨 Build for Arch Linux/Static Builds (push) Has been cancelled
2026-05-27 03:26:54 -05:00
5a0e53cd52 Overhaul cmake configuration, add console api, fix http code that caused issues with cgi-bin
Some checks failed
Build and Deploy on Tag / 🔨 Build win32 and update the tap 🍺 (push) Has been cancelled
Build and Deploy on Tag / 🔨 Build for Arch Linux/Static Builds (push) Has been cancelled
2026-05-27 03:19:34 -05:00
78d4b7a63e Overhaul cmake configuration, add console api, fix http code that caused issues with cgi-bin
Some checks failed
Build and Deploy on Tag / 🔨 Build for Arch Linux/Static Builds (push) Failing after 18s
Build and Deploy on Tag / 🔨 Build win32 and update the tap 🍺 (push) Failing after 20s
2026-05-27 03:14:15 -05:00
6700a1c91e Overhaul cmake configuration, add console api, fix http code that caused issues with cgi-bin 2026-05-27 03:12:56 -05:00
eb43691a52 Overhaul cmake configuration, add console api, fix http code that caused issues with cgi-bin 2026-05-27 03:11:19 -05:00
10 changed files with 39 additions and 13 deletions

View File

@@ -14,7 +14,7 @@ jobs:
runs-on: arch-builder
steps:
- uses: actions/checkout@v4
- run: pacman --noconfirm -Sy mbedtls curl zip zig ninja
- run: pacman --noconfirm -Sy mbedtls zip zig ninja
- run: pacman --config /opt/cross/ppc/pacman.conf --noconfirm -Sy mbedtls
- run: cp Packaging/Linux/PKGBUILD /home/build/PKGBUILD
- run: cp Packaging/Linux/build-arch.sh /home/build/build-arch.sh
@@ -22,7 +22,6 @@ jobs:
- run: chown build:build /home/build/PKGBUILD
- run: chown build:build /home/build/build-arch.sh
- run: su build -c /home/build/build-arch.sh
- run: env -C Packaging/Tools bash build.sh
- uses: akkuman/gitea-release-action@v1
env:
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
@@ -33,11 +32,12 @@ jobs:
update-tap-and-build-win32:
name: "🔨 Build win32 and update the tap 🍺"
runs-on: global-containers-mingw
runs-on: global-container-mingw
steps:
- uses: actions/checkout@v4
- run: |
env -C Builds/WinToolsIntel bash build.sh
mkdir artifacts
env -C Packaging/WinToolsIntel bash build.sh
- uses: akkuman/gitea-release-action@v1
env:

View File

@@ -4,6 +4,7 @@ include(cmake/version.cmake)
project(TessesFramework VERSION ${TESSESFRAMEWORK_MAJOR_VERSION}.${TESSESFRAMEWORK_MINOR_VERSION}.${TESSESFRAMEWORK_PATCH_VERSION})
set(CMAKE_CXX_STANDARD 17)
include(GNUInstallDirs)
include(CheckLibraryExists)
include(FetchContent)
include(cmake/sources.cmake)

View File

@@ -1,6 +1,6 @@
# Maintainer: Mike Nolan <tesses@tesses.net>
pkgname=tessesframework # '-bzr', '-git', '-hg' or '-svn'
pkgver=0.0.3
pkgver=0.0.4
pkgrel=1
pkgdesc=""
arch=('x86_64' 'powerpc')

View File

@@ -0,0 +1,7 @@
set(CMAKE_C_COMPILER "/usr/bin/i686-w64-mingw32-gcc")
set(CMAKE_CXX_COMPILER "/usr/bin/i686-w64-mingw32-g++")
set(CMAKE_C_FLAGS "-static-libgcc -static-libstdc++ -static")
set(CMAKE_CXX_FLAGS "-static-libgcc -static-libstdc++ -static")
set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++ -static")
set(CMAKE_SYSTEM_NAME Windows)
set(CMAKE_SYSTEM_PROCESSOR i686)

View File

@@ -0,0 +1,7 @@
set(CMAKE_C_COMPILER "/usr/bin/x86_64-w64-mingw32-gcc")
set(CMAKE_CXX_COMPILER "/usr/bin/x86_64-w64-mingw32-g++")
set(CMAKE_C_FLAGS "-static-libgcc -static-libstdc++ -static")
set(CMAKE_CXX_FLAGS "-static-libgcc -static-libstdc++ -static")
set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++ -static")
set(CMAKE_SYSTEM_NAME Windows)
set(CMAKE_SYSTEM_PROCESSOR x86_64)

View File

@@ -19,8 +19,10 @@
#pragma once
#include "../Streams/Stream.hpp"
#include "HttpUtils.hpp"
// clang-format off
#include "TessesFramework/Filesystem/LocalFS.hpp"
#include "TessesFramework/Filesystem/VFSFix.hpp"
// clang-format on
#include "WebSocket.hpp"
namespace Tesses::Framework::Http {

View File

@@ -17,8 +17,10 @@
*/
#pragma once
// clang-format off
#include "TessesFramework/Filesystem/LocalFS.hpp"
#include "TessesFramework/Filesystem/VFSFix.hpp"
// clang-format on
#include <optional>
namespace Tesses::Framework::Platform::Environment {
extern const char EnvPathSeperator;

View File

@@ -24,9 +24,10 @@
#include <sys/stat.h>
#include <sys/types.h>
#if defined(_WIN32)
#include "TessesFramework/Filesystem/VFSFix.hpp"
// clang-format off
#include <windows.h>
#include "TessesFramework/Filesystem/VFSFix.hpp"
// clang format on
#undef min
#else
#include <sys/statvfs.h>

View File

@@ -19,8 +19,7 @@
#include "TessesFramework/Http/HttpServer.hpp"
#include "TessesFramework/Common.hpp"
#include "TessesFramework/Crypto/Crypto.hpp"
#include "TessesFramework/Filesystem/VFS.hpp"
#include "TessesFramework/Filesystem/VFSFix.hpp"
#include "TessesFramework/Http/ContentDisposition.hpp"
#include "TessesFramework/Http/HttpStream.hpp"
#include "TessesFramework/Streams/BufferedStream.hpp"
@@ -33,6 +32,10 @@
#include <TessesFramework/Http/HttpUtils.hpp>
#include <iostream>
// clang-format off
#include "TessesFramework/Filesystem/VFS.hpp"
#include "TessesFramework/Filesystem/VFSFix.hpp"
// clang-format on
using FileStream = Tesses::Framework::Streams::FileStream;
using Stream = Tesses::Framework::Streams::Stream;
using SeekOrigin = Tesses::Framework::Streams::SeekOrigin;
@@ -711,8 +714,8 @@ void HttpServer::StartAccepting() {
}
if (this->showARTL) {
if (!svr->IsValid())
StdOut()
<< "\x1B[31mError, we failed to bind or something\x1B[39m" << NewLine();
StdOut() << "\x1B[31mError, we failed to bind or something\x1B[39m"
<< NewLine();
StdOut() << "\x1B[31mAlmost Ready to Listen\x1B[39m" << NewLine();
}

View File

@@ -22,9 +22,12 @@
#include "sago/platform_folders.h"
#endif
#if defined(_WIN32)
#include "TessesFramework/Filesystem/VFSFix.hpp"
#include "TessesFramework/Text/StringConverter.hpp"
// clang-format off
#include <windows.h>
#include "TessesFramework/Text/StringConverter.hpp"
#include "TessesFramework/Filesystem/VFSFix.hpp"
// clang-format on
using namespace Tesses::Framework::Text::StringConverter;
#endif