use nimble setup for now

This commit is contained in:
Jaremy Creechley 2023-07-17 13:07:32 -07:00
parent 49b0504d01
commit 7768f4835b
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300
2 changed files with 17 additions and 9 deletions

View File

@ -92,7 +92,7 @@ jobs:
path: | path: |
~/.nimble ~/.nimble
${{ github.workspace }}/.nimble ${{ github.workspace }}/.nimble
key: ${{ matrix.target.os }}-${{ matrix.target.cpu }}-dotnimble-${{ hashFiles('nimble.lock') }} key: ${{ matrix.builder }}-${{ matrix.target.cpu }}-dotnimble-${{ hashFiles('nimble.lock') }}
- name: Setup Nimble - name: Setup Nimble
uses: "./.github/actions/install_nimble" uses: "./.github/actions/install_nimble"

View File

@ -31,20 +31,28 @@ jobs:
sudo apt-get install -y lcov build-essential git curl sudo apt-get install -y lcov build-essential git curl
mkdir coverage mkdir coverage
- name: Restore nimble dependencies from cache
id: nimble_deps
uses: actions/cache@v3
with:
path: |
~/.nimble
key: ubuntu-20.04-amd64-${{ hashFiles('nimble.lock') }}
- name: Setup Nimble - name: Setup Nimble
uses: "./.github/actions/install_nimble" uses: "./.github/actions/install_nimble"
with: with:
os: linux os: linux
cpu: x64 cpu: x64
- name: Restore nimble dependencies from cache - name: Setup Env
id: nimble_deps run: |
uses: actions/cache@v3 nimble -v
with:
path: | - name: Setup Deps
~/.nimble/pkgs2 run: |
~/.nimble/packages_official.json nimble install -d
key: linux-x64-${{ env.cache_nonce }} nimble setup
- name: Run tests - name: Run tests
run: | run: |