Skip to content

Commit f66c1f0

Browse files
committed
feat: build release
1 parent 4af764e commit f66c1f0

File tree

3 files changed

+182
-497
lines changed

3 files changed

+182
-497
lines changed

.github/build/debian.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Build for Debian 11
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout código
15+
uses: actions/checkout@v4
16+
17+
- name: Instalar dependências
18+
run: sudo apt-get update && sudo apt-get install -y musl-tools pkg-config libssl-dev
19+
20+
- name: Instalar Rust
21+
uses: dtolnay/rust-toolchain@stable
22+
23+
- name: Compilar para Debian 11
24+
run: cargo build --release
25+
26+
- name: Fazer upload do binário
27+
uses: actions/upload-artifact@v4
28+
with:
29+
name: import_wp-debian11
30+
path: target/release/import_wp
31+

0 commit comments

Comments
 (0)