Skip to content

Commit

Permalink
reset cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Jul 5, 2023
1 parent a252392 commit 722a997
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
20 changes: 10 additions & 10 deletions .ci/test-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
uses: cache@1.*
with:
cachePaths: swiftshader-install
cacheKey: swiftshader-linux-install-20230420
cacheKey: swiftshader-linux-install-20230420-1

- name: checkout-swiftshader
if: steps.cache-swiftshader.outputs.cacheHit != 'true'
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
uses: cache@1.*
with:
cachePaths: lavapipe-install
cacheKey: lavapipe-linux-install-20211127-3
cacheKey: lavapipe-linux-install-20211127-4

- name: checkout-lavapipe
if: steps.cache-lavapipe.outputs.cacheHit != 'true'
Expand Down Expand Up @@ -280,7 +280,7 @@ jobs:
uses: cache@1.*
with:
cachePaths: qemu-install
cacheKey: qemu-arm-install-20220831
cacheKey: qemu-arm-install-20220831-1

- name: checkout-qemu
if: steps.cache-qemu.outputs.cacheHit != 'true'
Expand Down Expand Up @@ -386,7 +386,7 @@ jobs:
uses: cache@1.*
with:
cachePaths: qemu-install
cacheKey: qemu-aarch64-install-20220831
cacheKey: qemu-aarch64-install-20220831-1

- name: checkout-qemu
if: steps.cache-qemu.outputs.cacheHit != 'true'
Expand Down Expand Up @@ -473,7 +473,7 @@ jobs:
uses: cache@1.*
with:
cachePaths: qemu-install
cacheKey: qemu-mipsel-install-20220831
cacheKey: qemu-mipsel-install-20220831-1

- name: checkout-qemu
if: steps.cache-qemu.outputs.cacheHit != 'true'
Expand Down Expand Up @@ -552,7 +552,7 @@ jobs:
uses: cache@1.*
with:
cachePaths: qemu-install
cacheKey: qemu-mips64el-install-20220831
cacheKey: qemu-mips64el-install-20220831-1

- name: checkout-qemu
if: steps.cache-qemu.outputs.cacheHit != 'true'
Expand Down Expand Up @@ -631,7 +631,7 @@ jobs:
uses: cache@1.*
with:
cachePaths: qemu-install
cacheKey: qemu-riscv64-install-20230624
cacheKey: qemu-riscv64-install-20230624-1

- name: checkout-qemu
if: steps.cache-qemu.outputs.cacheHit != 'true'
Expand Down Expand Up @@ -716,7 +716,7 @@ jobs:
uses: cache@1.*
with:
cachePaths: qemu-install
cacheKey: qemu-riscv64-install-20230624
cacheKey: qemu-riscv64-install-20230624-1

- name: checkout-qemu
if: steps.cache-qemu.outputs.cacheHit != 'true'
Expand Down Expand Up @@ -751,7 +751,7 @@ jobs:
uses: cache@1.*
with:
cachePaths: rv64gcv-install
cacheKey: rv64gcv-linux-install-20221029
cacheKey: rv64gcv-linux-install-20221029-1

- name: checkout-riscv-gnu-toolchain
if: steps.cache-rv64gcv.outputs.cacheHit != 'true'
Expand Down Expand Up @@ -861,7 +861,7 @@ jobs:
uses: cache@1.*
with:
cachePaths: qemu-install
cacheKey: qemu-loongarch64-install-20230524
cacheKey: qemu-loongarch64-install-20230524-1

- name: checkout-qemu
if: steps.cache-qemu.outputs.cacheHit != 'true'
Expand Down
6 changes: 4 additions & 2 deletions tests/testutil.h
Original file line number Diff line number Diff line change
Expand Up @@ -1508,7 +1508,8 @@ int test_layer(const char* layer_type, const ncnn::ParamDict& pd, const std::vec
{1, 0, 0, 0, 0, 0, 0},
{1, 1, 0, 0, 1, 0, 0},
{1, 0, 1, 0, 0, 1, 0},
{1, 1, 1, 1, 0, 1, 1},
{1, 1, 1, 1, 0, 0, 0},
{1, 1, 1, 1, 1, 1, 1},
};

const int opt_count = sizeof(options) / sizeof(options[0]);
Expand Down Expand Up @@ -1544,7 +1545,8 @@ int test_layer(const char* layer_type, const ncnn::ParamDict& pd, const std::vec
{1, 0, 0, 0, 0, 0, 0},
{1, 1, 0, 0, 1, 0, 0},
{1, 0, 1, 0, 0, 1, 0},
{1, 1, 1, 1, 0, 1, 1},
{1, 1, 1, 1, 0, 0, 0},
{1, 1, 1, 1, 1, 1, 1},
};

const int opt_count = sizeof(options) / sizeof(options[0]);
Expand Down

0 comments on commit 722a997

Please sign in to comment.