Skip to content

Commit c29bdb5

Browse files
committed
x
1 parent f2dc918 commit c29bdb5

File tree

24 files changed

+1273
-3291
lines changed

24 files changed

+1273
-3291
lines changed

.github/workflows/rust.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Rust CI
2+
3+
on:
4+
push:
5+
branches: [master, dev]
6+
pull_request:
7+
branches: [master, dev]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
RUST_BACKTRACE: 1
12+
13+
jobs:
14+
rust-build:
15+
name: Rust Build
16+
runs-on: ${{ matrix.os }}
17+
strategy:
18+
matrix:
19+
os: [ubuntu-latest, windows-latest, macos-latest]
20+
steps:
21+
- name: Checkout repository
22+
uses: actions/checkout@v4
23+
24+
- name: Install Rust toolchain
25+
uses: dtolnay/rust-toolchain@nightly
26+
27+
- name: Cache cargo registry
28+
uses: actions/cache@v4
29+
with:
30+
path: |
31+
~/.cargo/registry
32+
~/.cargo/git
33+
target
34+
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
35+
restore-keys: |
36+
${{ runner.os }}-cargo-
37+
38+
- name: Build project
39+
run: cargo build --all-targets --all-features

.github/workflows/typescript.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: TypeScript CI
2+
3+
on:
4+
push:
5+
branches: [master, dev]
6+
pull_request:
7+
branches: [master, dev]
8+
9+
jobs:
10+
typescript-build:
11+
name: TypeScript Build
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
17+
- name: Setup Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: '20'
21+
22+
- name: Install pnpm
23+
uses: pnpm/action-setup@v4
24+
with:
25+
version: 10.18.3
26+
27+
- name: Install dependencies
28+
run: pnpm install
29+
working-directory: frontends/homepage
30+
31+
- name: Build TypeScript project
32+
run: pnpm build
33+
working-directory: frontends/homepage

.gitignore

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@ time-travel.*
1010
.vs/
1111
*.iml
1212

13+
# Rust
14+
target/
15+
Cargo.lock
16+
*.log
17+
*.txt
18+
.cargo/config.toml
19+
20+
1321
# Node
1422
node_modules/
1523
build/
@@ -19,12 +27,6 @@ static/**/*
1927
index.css
2028
pnpm-lock.yaml
2129

22-
# Rust
23-
target/
24-
Cargo.lock
25-
*.log
26-
*.txt
27-
.cargo/config.toml
2830

2931
# SQLite
3032
*.db

0 commit comments

Comments
 (0)