Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
janekmi committed Sep 27, 2024
1 parent 0898f39 commit 3a55924
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/daos_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
permissions: {}

env:
DAOS_BUILD: ${{ false }}
DAOS_BUILD: 0
DAOS_PATH: /opt/daos/

jobs:
Expand All @@ -32,7 +32,7 @@ jobs:
path: pmdk

- name: Apply DAOS patches
if: ${{ env.DAOS_BUILD }}
if: ${{ env.DAOS_BUILD == 1 }}
working-directory: daos
run: git apply ../pmdk/src/test/daos_dtx/*.patch

Expand All @@ -44,7 +44,7 @@ jobs:
# https://go.dev/doc/install
- name: Update the golang package
if: ${{ env.DAOS_BUILD }}
if: ${{ env.DAOS_BUILD == 1 }}
env:
GOLANG_VER: go1.23.1 # >= 1.21 because of https://go.dev/doc/toolchain
run: |
Expand All @@ -57,7 +57,7 @@ jobs:
run: sudo ./install-valgrind.sh

- name: Generate ${{ env.OPTS_FILE }}
if: ${{ env.DAOS_BUILD }}
if: ${{ env.DAOS_BUILD == 1 }}
working-directory: daos
env:
OPTS_FILE: daos.conf
Expand All @@ -71,7 +71,7 @@ jobs:
cat ${{ env.OPTS_FILE }}
- name: Build DAOS
if: ${{ env.DAOS_BUILD }}
if: ${{ env.DAOS_BUILD == 1 }}
working-directory: daos
run: |
git submodule init
Expand All @@ -85,14 +85,14 @@ jobs:
# tree

- name: Save ${{ env.DAOS_PATH }} as cache
if: ${{ env.DAOS_BUILD }}
if: ${{ env.DAOS_BUILD == 1 }}
uses: actions/cache/save@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: ${{ env.DAOS_PATH }}
key: opt_daos

- name: Restore ${{ env.DAOS_PATH }} from cache
if: ${{ ! env.DAOS_BUILD }}
if: ${{ env.DAOS_BUILD == 0 }}
uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: ${{ env.DAOS_PATH }}
Expand Down

0 comments on commit 3a55924

Please sign in to comment.