Skip to content

Commit dfd03df

Browse files
committed
ХЕХЕ
1 parent d81e460 commit dfd03df

File tree

1,287 files changed

+6509
-6666
lines changed

Some content is hidden

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

1,287 files changed

+6509
-6666
lines changed

.github/workflows/build.yml

Lines changed: 29 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,44 @@
1-
name: Release
1+
name: Build frkn-bot
22

33
on:
44
push:
55
branches: ["main"]
66
pull_request:
77
branches: ["main"]
88

9+
env:
10+
CARGO_TERM_COLOR: always
11+
912
jobs:
10-
build-bot:
11-
runs-on: ubuntu-latest
13+
build:
14+
runs-on: ubuntu-22.04
1215

1316
steps:
14-
- name: Checkout
17+
- name: Checkout repo
1518
uses: actions/checkout@v4
1619

17-
- name: Setup Node.js
18-
uses: actions/setup-node@v4
20+
- name: Install Rust
21+
uses: actions-rs/toolchain@v1
1922
with:
20-
node-version: 18
23+
toolchain: nightly
24+
default: true
25+
override: true
26+
27+
- name: Update apt and install dependencies
28+
run: |
29+
sudo apt-get update
30+
sudo apt-get install -y protobuf-compiler python3-pip
31+
pip3 install ziglang
32+
cargo install --locked cargo-zigbuild
2133
22-
- name: Install dependencies
23-
run: npm ci
34+
- name: Add target
35+
run: rustup target add x86_64-unknown-linux-gnu
2436

25-
- name: Build TypeScript
26-
run: npm run build
37+
- name: Build bot
38+
run: cargo zigbuild --release --no-default-features --target x86_64-unknown-linux-gnu
39+
40+
- name: Upload frkn-bot binary
41+
uses: actions/upload-artifact@v4
42+
with:
43+
name: frkn-bot
44+
path: target/x86_64-unknown-linux-gnu/release/frkn-bot

.github/workflows/release.yml

Lines changed: 0 additions & 80 deletions
This file was deleted.

.npmrc

Lines changed: 0 additions & 2 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)