-
Notifications
You must be signed in to change notification settings - Fork 78
53 lines (48 loc) · 1.4 KB
/
aicirt.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: AICIrt
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- run: rustup target add wasm32-wasi
- uses: hendrikmuhs/[email protected]
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Build aici_abi
run: cargo build --verbose --release
working-directory: controllers/aici_abi
- name: Build uppercase
run: cargo build --verbose --release
working-directory: controllers/uppercase
- name: Build pyctrl
run: cargo build --verbose --release
working-directory: controllers/pyctrl
- name: Build jsctrl
run: cargo build --verbose --release
working-directory: controllers/jsctrl
- name: Build declctrl
run: cargo build --verbose --release
working-directory: controllers/declctrl
- name: Build aicirt
run: cargo build --verbose --release
working-directory: aicirt
- name: Build rllm-llamacpp
run: cargo build --verbose --release --no-default-features
working-directory: rllm/rllm-llamacpp
- name: Release script
run: ./scripts/release.sh --xz
- name: Artifact upload
uses: actions/upload-artifact@v4
with:
name: aicirt-xz
path: target/dist/*.tar.xz