Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaiaeroastro committed Jun 1, 2024
1 parent f9fb04b commit 33b8dcd
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -537,15 +537,15 @@ jobs:
run: |
python -m pip install --upgrade pip
- name: Download lib3mf_sdk artifact from latest commit
- name: Download lib3mf_sdk artifact
uses: actions/download-artifact@v2
with:
name: lib3mf_sdk.zip
path: latest_commit_lib3mf_sdk.zip
path: lib3mf_sdk.zip

- name: Unpack the SDK from latest commit
- name: Unpack the SDK
run: |
unzip latest_commit_lib3mf_sdk.zip -d latest_commit_lib3mf_sdk
unzip lib3mf_sdk.zip/lib3mf_sdk.zip -d latest_commit_lib3mf_sdk && ls -al
- name: Build CppDynamic with latest commit SDK
run: |
Expand All @@ -571,6 +571,10 @@ jobs:
run: |
cd test_suites && /usr/bin/time -v python integration_test.py 2>&1 | tee latest_commit_sdk_test.log
- name: Clean up latest SDK binaries
run: |
find test_suites -maxdepth 1 -type f ! -name 'integration_test.py' ! -name 'latest_sdk_test.log' ! -name 'second_latest_sdk_test.log' -exec rm -rf {} +
- name: Get latest lib3mf SDK release info from GitHub API
id: get_latest_release
run: |
Expand Down Expand Up @@ -613,5 +617,4 @@ jobs:
echo "Latest commit is better"
else
echo "Latest release is better"
fi
fi

0 comments on commit 33b8dcd

Please sign in to comment.