Skip to content

Commit 96da1b1

Browse files
committed
Initial OpenPet public release
0 parents  commit 96da1b1

49 files changed

Lines changed: 21049 additions & 0 deletions

Some content is hidden

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

.github/workflows/ci.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- main
8+
pull_request:
9+
10+
jobs:
11+
check:
12+
name: Build and check
13+
runs-on: ubuntu-22.04
14+
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v6
18+
19+
- name: Install Linux Tauri dependencies
20+
run: |
21+
sudo apt-get update
22+
sudo apt-get install -y \
23+
libwebkit2gtk-4.1-dev \
24+
libayatana-appindicator3-dev \
25+
librsvg2-dev \
26+
patchelf \
27+
libxdo-dev
28+
29+
- name: Set up pnpm
30+
uses: pnpm/action-setup@v6
31+
32+
- name: Set up Node
33+
uses: actions/setup-node@v6
34+
with:
35+
node-version: lts/*
36+
cache: pnpm
37+
38+
- name: Install frontend dependencies
39+
run: pnpm install --frozen-lockfile
40+
41+
- name: Build frontend
42+
run: pnpm build
43+
44+
- name: Set up Rust
45+
uses: dtolnay/rust-toolchain@stable
46+
47+
- name: Check Rust
48+
run: cargo check --manifest-path src-tauri/Cargo.toml

.github/workflows/release.yml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- v*
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
build:
13+
name: Build ${{ matrix.platform }}
14+
runs-on: ${{ matrix.platform }}
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
include:
19+
- platform: ubuntu-22.04
20+
args: ""
21+
- platform: macos-latest
22+
args: ""
23+
- platform: windows-latest
24+
args: ""
25+
26+
steps:
27+
- name: Checkout
28+
uses: actions/checkout@v6
29+
30+
- name: Install Linux Tauri dependencies
31+
if: matrix.platform == 'ubuntu-22.04'
32+
run: |
33+
sudo apt-get update
34+
sudo apt-get install -y \
35+
libwebkit2gtk-4.1-dev \
36+
libayatana-appindicator3-dev \
37+
librsvg2-dev \
38+
patchelf \
39+
libxdo-dev
40+
41+
- name: Set up pnpm
42+
uses: pnpm/action-setup@v6
43+
44+
- name: Set up Node
45+
uses: actions/setup-node@v6
46+
with:
47+
node-version: lts/*
48+
cache: pnpm
49+
50+
- name: Install frontend dependencies
51+
run: pnpm install --frozen-lockfile
52+
53+
- name: Set up Rust
54+
uses: dtolnay/rust-toolchain@stable
55+
56+
- name: Build Tauri bundles
57+
uses: tauri-apps/tauri-action@v1
58+
env:
59+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
60+
with:
61+
args: ${{ matrix.args }}
62+
tagName: ${{ github.ref_name }}
63+
releaseName: OpenPet ${{ github.ref_name }}
64+
releaseBody: |
65+
Download the installer or bundle for your platform from the assets below.
66+
67+
Development and manual verification currently happen on Windows. macOS and Linux artifacts are built by CI but have not been manually tested by the developer yet.
68+
releaseDraft: true
69+
prerelease: false

.gitignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
node_modules/
2+
dist/
3+
src-tauri/target/
4+
.agents/
5+
.codex/
6+
.trellis/
7+
AGENTS.md
8+
.playwright-mcp/
9+
codex-pet-runtime-settings-ui*.png
10+
*.log
11+
.env
12+
.env.*
13+
__pycache__/
14+
*.pyc

0 commit comments

Comments
 (0)