Skip to content

Commit 5969eed

Browse files
authored
Merge pull request kokkos#239 from amklinv-nnl/remove-mdspan-caching
Remove caching of mdspan
2 parents 8c57ebb + 64f5fa1 commit 5969eed

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

.github/workflows/cmake.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,39 +16,24 @@ jobs:
1616
- compiler_driver: g++
1717
compiler_prefix: /usr/bin
1818
steps:
19-
- id: get-sha
20-
run: echo ::set-output name=sha::$( curl https://api.github.com/repos/kokkos/mdspan/git/ref/heads/stable | jq .object.sha | tr -d '"' )
21-
22-
- name: Determine whether mdspan needs to be rebuilt
23-
id: cache-mdspan
24-
uses: actions/cache@v2
25-
with:
26-
path: mdspan-install
27-
key: mdspan-stable-${{ steps.get-sha.outputs.sha }}
28-
2919
- name: Create Build Environment
30-
if: steps.cache-mdspan.outputs.cache-hit != 'true'
3120
run: cmake -E make_directory mdspan-build
3221

3322
- name: Check Out
34-
if: steps.cache-mdspan.outputs.cache-hit != 'true'
3523
uses: actions/checkout@v2
3624
with:
3725
repository: kokkos/mdspan
3826
path: mdspan-src
3927

4028
- name: Configure CMake
41-
if: steps.cache-mdspan.outputs.cache-hit != 'true'
4229
working-directory: mdspan-build
4330
run: cmake $GITHUB_WORKSPACE/mdspan-src -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/mdspan-install
4431

4532
- name: Build
46-
if: steps.cache-mdspan.outputs.cache-hit != 'true'
4733
working-directory: mdspan-build
4834
run: make
4935

5036
- name: Install
51-
if: steps.cache-mdspan.outputs.cache-hit != 'true'
5237
working-directory: mdspan-build
5338
run: make install
5439

0 commit comments

Comments
 (0)