Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/spz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- main
pull_request:
branches:
- '**'
- "**"
workflow_dispatch:

env:
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
if: runner.os == 'Windows'
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: "3.11"

- name: Configure CMake with MSBuild (Windows)
if: runner.os == 'Windows'
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:

- name: Azure Trusted Signing
if: runner.os == 'Windows'
uses: azure/trusted-signing-action@v0.5.9
uses: azure/trusted-signing-action@v0.5.11
with:
azure-tenant-id: ${{ secrets.AZURE_TENANT_ID }}
azure-client-id: ${{ secrets.AZURE_CLIENT_ID }}
Expand All @@ -106,6 +106,8 @@ jobs:
files-folder: "${{ github.workspace }}/build/Release"
files-folder-filter: "exe,dll"
files-folder-recurse: true
timestamp-rfc3161: http://timestamp.acs.microsoft.com
timestamp-digest: SHA256

- name: Upload Windows binaries
if: runner.os == 'Windows'
Expand Down Expand Up @@ -133,7 +135,7 @@ jobs:
mkdir -p artifacts
docker cp spz-container:/spz artifacts/spz
docker cp spz-container:/libspz_shared.so artifacts/libspz_shared.so

- name: Upload Linux binaries
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -186,7 +188,7 @@ jobs:
arch: x64

- name: Build wheels
uses: pypa/cibuildwheel@v3.1.3
uses: pypa/cibuildwheel@v3.3.1
env:
CIBW_BUILD: "cp310-* cp311-* cp312-* cp313-*"
CIBW_ARCHS_LINUX: "x86_64"
Expand Down Expand Up @@ -241,7 +243,7 @@ jobs:
- name: Setup Emscripten SDK
uses: mymindstorm/setup-emsdk@v14
with:
version: 4.0.10
version: 4.0.22

- name: Configure and build SPZ WASM
run: |
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ if(BUILD_PYTHON_BINDINGS)
FetchContent_Declare(
pybind11
GIT_REPOSITORY https://github.com/pybind/pybind11.git
GIT_TAG v2.13.6
GIT_TAG v3.0.1
)
FetchContent_MakeAvailable(pybind11)
endif()
Expand Down
Binary file added pyspz/__pycache__/__init__.cpython-313.pyc
Binary file not shown.
6 changes: 3 additions & 3 deletions src/ts/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM oven/bun:1.2.19-alpine AS builder
FROM oven/bun:1-alpine AS builder
Comment thread
Deniskore marked this conversation as resolved.

RUN apk update && apk upgrade --no-cache && apk add --no-cache openssl ca-certificates curl unzip && update-ca-certificates

Expand All @@ -15,11 +15,11 @@ RUN curl -sL https://github.com/404-Repo/spz/releases/latest/download/spz-wasm.z

RUN bun run bun:build

FROM oven/bun:1.2.19-alpine AS runner
FROM oven/bun:1-alpine AS runner
Comment thread
Deniskore marked this conversation as resolved.

WORKDIR /app
COPY --from=builder /app .

EXPOSE 3000

CMD ["bun", "run", "bun:start"]
CMD ["bun", "run", "bun:start"]
2 changes: 1 addition & 1 deletion src/ts/app/page.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,6 @@
100% { opacity: 0.6; }
}

.statusMessage:has-text("Processing") {
.statusMessageProcessing {
animation: processing 1.5s infinite;
}
8 changes: 6 additions & 2 deletions src/ts/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,9 @@ export default function Home() {
</div>

{compressStatus && (
<div className={styles.statusMessage}>
<div
className={`${styles.statusMessage} ${compressStatus === 'Processing...' ? styles.statusMessageProcessing : ''}`}
>
{compressStatus}
</div>
)}
Expand Down Expand Up @@ -342,7 +344,9 @@ export default function Home() {
</div>

{decompressStatus && (
<div className={styles.statusMessage}>
<div
className={`${styles.statusMessage} ${decompressStatus === 'Processing...' ? styles.statusMessageProcessing : ''}`}
>
{decompressStatus}
</div>
)}
Expand Down
804 changes: 804 additions & 0 deletions src/ts/bun.lock

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions src/ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@
"bun:lint": "bun --bun next lint"
},
"dependencies": {
"react": "^19.1.1",
"react-dom": "^19.1.1",
"next": "^15.4.5"
"react": "^19.2.3",
"react-dom": "^19.2.3",
"next": "^16.1.1"
},
"devDependencies": {
"typescript": "^5.9.2",
"@types/node": "^24.2.0",
"@types/react": "^19.1.9",
"@types/react-dom": "^19.1.7",
"eslint": "^9.32.0",
"eslint-config-next": "^15.4.5",
"@eslint/eslintrc": "^3.3.1"
"typescript": "^5.9.3",
"@types/bun": "^1.3.5",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
Comment thread
Deniskore marked this conversation as resolved.
"eslint": "^9.39.2",
"eslint-config-next": "^16.1.1",
"@eslint/eslintrc": "^3.3.3"
}
}
Loading