Skip to content

Commit

Permalink
Fix workflow dependency issue (#89)
Browse files Browse the repository at this point in the history
* Fix workflow dependency getting failure

* Fix CMake workflow test execution
  • Loading branch information
mattjala authored Oct 30, 2023
1 parent ad8e9d7 commit 89a36ca
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:

- name: Get REST VOL dependencies
run: |
sudo apt-get update
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libyajl-dev
Expand All @@ -57,8 +58,6 @@ jobs:
uses: actions/checkout@v3
with:
path: ${{github.workspace}}/vol-rest
ref: build_under_lib_workflow
repository: mattjala/vol-rest # TODO: For workflow testing

- name: Autotools Configure + Build HDF5
run: |
Expand Down Expand Up @@ -177,15 +176,14 @@ jobs:

- name: Get REST VOL dependencies
run: |
sudo apt-get update
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libyajl-dev
- name: Get REST VOL
uses: actions/checkout@v3
with:
path: ${{github.workspace}}/vol-rest
ref: build_under_lib_workflow
repository: mattjala/vol-rest # TODO: For workflow testing

- name: CMake Configure + Build HDF5
run: |
Expand Down Expand Up @@ -290,7 +288,7 @@ jobs:
working-directory: ${{github.workspace}}/hsds

- name: Test REST VOL
working-directory: ${{github.workspace}}/hdf5/build/
working-directory: ${{github.workspace}}/vol-rest/build/
run: |
echo "HDF5_PLUGIN_PATH=${{github.workspace}}/hdf5/build/bin/" >> $GITHUB_ENV
valgrind --leak-check=full -s ctest -R "test_rest_vol" -VV
Expand All @@ -314,6 +312,7 @@ jobs:

- name: Get REST VOL dependencies
run: |
sudo apt-get update
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libyajl-dev
Expand All @@ -322,8 +321,6 @@ jobs:
uses: actions/checkout@v3
with:
path: ${{github.workspace}}/vol-rest
ref: build_under_lib_workflow
repository: mattjala/vol-rest # TODO: For workflow testing

- name: CMake Configure HDF5 + REST VOL from GIT
if: ${{matrix.vol-source == 'GIT'}}
Expand All @@ -334,8 +331,8 @@ jobs:
-DHDF5_BUILD_HL_LIB=ON \
-DBUILD_SHARED_LIBS=ON -DHDF5_ENABLE_SZIP_SUPPORT=OFF \
-DHDF5_TEST_API=ON -DHDF5_VOL_ALLOW_EXTERNAL='GIT' \
-DHDF5_VOL_URL01=https://github.com/mattjala/vol-rest.git \
-DHDF5_VOL_VOL-REST_BRANCH=build_under_lib_workflow \
-DHDF5_VOL_URL01=https://github.com/HDFGroup/vol-rest.git \
-DHDF5_VOL_VOL-REST_BRANCH=master \
-DHDF5_VOL_VOL-REST_NAME="REST" -DHDF5_VOL_VOL-REST_TEST_PARALLEL=OFF \
-DHDF5_ENABLE_Z_LIB_SUPPORT=OFF \
-DCMAKE_BUILD_TYPE=RelWithDebInfo -DHDF5_ENABLE_THREADSAFE=OFF \
Expand Down

0 comments on commit 89a36ca

Please sign in to comment.