Skip to content

Commit 53d34f9

Browse files
Merge branch 'main' into ci/add-build-job
2 parents a87bf48 + 6851bba commit 53d34f9

File tree

39 files changed

+4745
-570
lines changed

39 files changed

+4745
-570
lines changed

.env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
# Fireworks AI
3333
# FIREWORKS_API_KEY=...
3434

35+
# Novita AI (multi-model gateway)
36+
# NOVITA_API_KEY=...
37+
3538
# ─── Local LLM Providers (no API key needed) ─────────────────────────
3639

3740
# Ollama (default: http://localhost:11434)

.github/workflows/release.yml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ jobs:
134134
projectPath: crates/openfang-desktop
135135
args: ${{ matrix.platform.args }}
136136

137-
# ── CLI Binary (5 platforms) ──────────────────────────────────────────────
137+
# ── CLI Binary (7 platforms) ──────────────────────────────────────────────
138138
cli:
139139
name: CLI / ${{ matrix.target }}
140140
runs-on: ${{ matrix.os }}
@@ -148,6 +148,9 @@ jobs:
148148
- target: aarch64-unknown-linux-gnu
149149
os: ubuntu-22.04
150150
archive: tar.gz
151+
- target: armv7-unknown-linux-gnueabihf
152+
os: ubuntu-22.04
153+
archive: tar.gz
151154
- target: x86_64-apple-darwin
152155
os: macos-latest
153156
archive: tar.gz
@@ -169,17 +172,17 @@ jobs:
169172
- name: Install build deps (Linux)
170173
if: runner.os == 'Linux'
171174
run: sudo apt-get update && sudo apt-get install -y pkg-config libssl-dev
172-
- name: Install cross (Linux aarch64)
173-
if: matrix.target == 'aarch64-unknown-linux-gnu'
175+
- name: Install cross (Linux aarch64/armv7)
176+
if: matrix.target == 'aarch64-unknown-linux-gnu' || matrix.target == 'armv7-unknown-linux-gnueabihf'
174177
run: cargo install cross --locked
175178
- uses: Swatinem/rust-cache@v2
176179
with:
177180
key: cli-${{ matrix.target }}
178181
- name: Build CLI (cross)
179-
if: matrix.target == 'aarch64-unknown-linux-gnu'
182+
if: matrix.target == 'aarch64-unknown-linux-gnu' || matrix.target == 'armv7-unknown-linux-gnueabihf'
180183
run: cross build --release --target ${{ matrix.target }} --bin openfang
181184
- name: Build CLI
182-
if: matrix.target != 'aarch64-unknown-linux-gnu'
185+
if: matrix.target != 'aarch64-unknown-linux-gnu' && matrix.target != 'armv7-unknown-linux-gnueabihf'
183186
run: cargo build --release --target ${{ matrix.target }} --bin openfang
184187
- name: Ad-hoc codesign CLI binary (macOS)
185188
if: runner.os == 'macOS'
@@ -235,5 +238,17 @@ jobs:
235238
tags: |
236239
ghcr.io/rightnow-ai/openfang:latest
237240
ghcr.io/rightnow-ai/openfang:${{ steps.version.outputs.version }}
241+
labels: |
242+
org.opencontainers.image.source=https://github.com/RightNow-AI/openfang
243+
org.opencontainers.image.licenses=MIT
244+
org.opencontainers.image.description=OpenFang Agent OS — single-binary Rust agent framework
238245
cache-from: type=gha
239246
cache-to: type=gha,mode=max
247+
- name: Set GHCR package visibility to public
248+
run: |
249+
curl -fsSL -X PATCH \
250+
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
251+
-H "Accept: application/vnd.github+json" \
252+
-H "X-GitHub-Api-Version: 2022-11-28" \
253+
https://api.github.com/orgs/RightNow-AI/packages/container/openfang \
254+
-d '{"visibility":"public"}'

Cargo.lock

Lines changed: 34 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ members = [
1818
]
1919

2020
[workspace.package]
21-
version = "0.5.7"
21+
version = "0.5.9"
2222
edition = "2021"
2323
license = "Apache-2.0 OR MIT"
2424
repository = "https://github.com/RightNow-AI/openfang"

Cross.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,9 @@ pre-build = [
33
"dpkg --add-architecture $CROSS_DEB_ARCH",
44
"apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH"
55
]
6+
7+
[target.armv7-unknown-linux-gnueabihf]
8+
pre-build = [
9+
"dpkg --add-architecture $CROSS_DEB_ARCH",
10+
"apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH"
11+
]

0 commit comments

Comments
 (0)