Skip to content

Commit

Permalink
Add wvp-models-q5 cache in .github/workflows/ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pierreguillot committed Aug 29, 2024
1 parent b240d72 commit e034e04
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ jobs:
path: ./build/source
key: wvp-model-base-q5_1
enableCrossOsArchive: true
- name: Cache
uses: actions/cache@v4
with:
path: ./build/models
key: wvp-models-q5
enableCrossOsArchive: true
- name: Configure
run: cmake -B ${{ github.workspace }}/build -DCMAKE_BUILD_TYPE=${{ env.build_type }}
# Compiles, tests and packages the plugin for Ubuntu.
Expand All @@ -52,6 +58,12 @@ jobs:
path: ./build/source
key: wvp-model-base-q5_1
enableCrossOsArchive: true
- name: Cache
uses: actions/cache@v4
with:
path: ./build/models
key: wvp-models-q5
enableCrossOsArchive: true
- uses: seanmiddleditch/gha-setup-ninja@master
- name: Configure
run: cmake -B ${{ github.workspace }}/build -G Ninja -DCMAKE_BUILD_TYPE=${{ env.build_type }} -DCMAKE_C_COMPILER="/usr/bin/clang" -DCMAKE_CXX_COMPILER="/usr/bin/clang++" -DBPVP_BUILD_TAG=${{ env.tag_name }}
Expand Down Expand Up @@ -88,6 +100,12 @@ jobs:
path: ./build/source
key: wvp-model-base-q5_1
enableCrossOsArchive: true
- name: Cache
uses: actions/cache@v4
with:
path: ./build/models
key: wvp-models-q5
enableCrossOsArchive: true
- name: Prepare
run: powershell -Command "& {[System.IO.File]::WriteAllBytes('${{ github.workspace }}\cert.p12', [System.Convert]::FromBase64String('${{ secrets.SECTIGO_CERT_P12}}'))}"
- name: Configure
Expand Down Expand Up @@ -126,6 +144,12 @@ jobs:
path: ./build/source
key: wvp-model-base-q5_1
enableCrossOsArchive: true
- name: Cache
uses: actions/cache@v4
with:
path: ./build/models
key: wvp-models-q5
enableCrossOsArchive: true
- name: Prepare
run: |
security create-keychain -p ${{ secrets.DEV_ID_PASSWORD }} buildagent
Expand Down Expand Up @@ -181,6 +205,12 @@ jobs:
path: ./build/source
key: wvp-model-base-q5_1
enableCrossOsArchive: true
- name: Cache
uses: actions/cache@v4
with:
path: ./build/models
key: wvp-models-q5
enableCrossOsArchive: true
- name: Configure
run: cmake -B ${{ github.workspace }}/build -DCMAKE_BUILD_TYPE=${{ env.build_type }} -DBPVP_BUILD_TAG=${{ env.tag_name }}
- name: Build
Expand Down

0 comments on commit e034e04

Please sign in to comment.