Skip to content

Commit 4f9b321

Browse files
committed
feat: Initial release of php-rs-toon extension
Includes: - Core TOON parser and encoder in Rust - PHP extension bindings - Documentation (English & Chinese) - Docker support - Benchmarks and examples
0 parents  commit 4f9b321

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+9569
-0
lines changed

.github/workflows/release.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*"
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
build-and-release:
13+
name: Build and Release
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v4
18+
19+
- name: Setup Rust
20+
uses: dtolnay/rust-toolchain@stable
21+
22+
- name: Build Release
23+
run: cargo build --release
24+
25+
- name: Create Release
26+
uses: softprops/action-gh-release@v1
27+
if: startsWith(github.ref, 'refs/tags/')
28+
with:
29+
files: target/release/libphp_rs_toon.so
30+
draft: false
31+
prerelease: false

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/target

0 commit comments

Comments
 (0)