diff --git a/.github/workflows/aicirt-release.yml b/.github/workflows/aicirt-release.yml index 85e8105d..e4304830 100644 --- a/.github/workflows/aicirt-release.yml +++ b/.github/workflows/aicirt-release.yml @@ -20,6 +20,7 @@ jobs: with: submodules: true - run: rustup target add wasm32-wasi + - uses: hendrikmuhs/ccache-action@v1.2 - uses: Swatinem/rust-cache@v2 with: cache-on-failure: true diff --git a/.github/workflows/aicirt.yml b/.github/workflows/aicirt.yml index 392b1e28..5558a1b2 100644 --- a/.github/workflows/aicirt.yml +++ b/.github/workflows/aicirt.yml @@ -19,6 +19,7 @@ jobs: with: submodules: true - run: rustup target add wasm32-wasi + - uses: hendrikmuhs/ccache-action@v1.2 - uses: Swatinem/rust-cache@v2 with: cache-on-failure: true @@ -40,6 +41,9 @@ jobs: - 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 diff --git a/.github/workflows/rllm-cpp.yml b/.github/workflows/rllm-cpp.yml deleted file mode 100644 index cec94708..00000000 --- a/.github/workflows/rllm-cpp.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: rLLM with llama.cpp - -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 - - uses: hendrikmuhs/ccache-action@v1.2 - - uses: Swatinem/rust-cache@v2 - with: - cache-on-failure: true - - name: Build rllm-llamacpp - run: cargo build --verbose --release --no-default-features - working-directory: rllm/rllm-llamacpp - - run: strip target/release/rllm-llamacpp - - name: Artifact upload - uses: actions/upload-artifact@v4 - with: - name: rllm-llamacpp - path: target/release/rllm-llamacpp