-
-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update feature/sparse_data with latest changes in develop #4667
Changes from all commits
31eda22
214b489
1fafdc9
c67feed
6cf3389
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,6 +99,19 @@ | |
7z a -tzip ${{ steps.set-file-base.outputs.FILE_BASE }}-win-vs2022_cl.zip hdf5 | ||
shell: pwsh | ||
|
||
- name: Publish msi binary (Windows) | ||
id: publish-ctest-msi-binary | ||
run: | | ||
mkdir "${{ runner.workspace }}/build" | ||
mkdir "${{ runner.workspace }}/build/hdf5" | ||
Copy-Item -Path ${{ runner.workspace }}/hdf5/${{ steps.set-file-base.outputs.SOURCE_BASE }}/COPYING -Destination ${{ runner.workspace }}/build/hdf5/ | ||
Copy-Item -Path ${{ runner.workspace }}/hdf5/${{ steps.set-file-base.outputs.SOURCE_BASE }}/COPYING_LBNL_HDF5 -Destination ${{ runner.workspace }}/build/hdf5/ | ||
Copy-Item -Path ${{ runner.workspace }}/hdf5/build/${{ inputs.preset_name }}-MSVC/README.md -Destination ${{ runner.workspace }}/build/hdf5/ | ||
Copy-Item -Path ${{ runner.workspace }}/hdf5/build/${{ inputs.preset_name }}-MSVC/* -Destination ${{ runner.workspace }}/build/hdf5/ -Include *.msi | ||
cd "${{ runner.workspace }}/build" | ||
7z a -tzip ${{ steps.set-file-base.outputs.FILE_BASE }}-win-vs2022_cl.msi.zip hdf5 | ||
shell: pwsh | ||
|
||
- name: List files in the space (Windows) | ||
run: | | ||
Get-ChildItem -Path ${{ github.workspace }} | ||
|
@@ -113,6 +126,13 @@ | |
path: ${{ runner.workspace }}/build/${{ steps.set-file-base.outputs.FILE_BASE }}-win-vs2022_cl.zip | ||
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn` | ||
|
||
- name: Save published msi binary (Windows) | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: msi-vs2022_cl-binary | ||
path: ${{ runner.workspace }}/build/${{ steps.set-file-base.outputs.FILE_BASE }}-win-vs2022_cl.msi.zip | ||
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn` | ||
|
||
build_and_test_linux: | ||
# Linux (Ubuntu) w/ gcc + CMake | ||
# | ||
|
@@ -470,6 +490,19 @@ | |
7z a -tzip ${{ steps.set-file-base.outputs.FILE_BASE }}-win-vs2022_intel.zip hdf5 | ||
shell: pwsh | ||
|
||
- name: Publish msi binary (Windows_intel) | ||
id: publish-ctest-msi-binary | ||
run: | | ||
mkdir "${{ runner.workspace }}/build" | ||
mkdir "${{ runner.workspace }}/build/hdf5" | ||
Copy-Item -Path ${{ runner.workspace }}/hdf5/${{ steps.set-file-base.outputs.SOURCE_BASE }}/COPYING -Destination ${{ runner.workspace }}/build/hdf5/ | ||
Copy-Item -Path ${{ runner.workspace }}/hdf5/${{ steps.set-file-base.outputs.SOURCE_BASE }}/COPYING_LBNL_HDF5 -Destination ${{ runner.workspace }}/build/hdf5/ | ||
Copy-Item -Path ${{ runner.workspace }}/hdf5/build/${{ inputs.preset_name }}-Intel/README.md -Destination ${{ runner.workspace }}/build/hdf5/ | ||
Copy-Item -Path ${{ runner.workspace }}/hdf5/build/${{ inputs.preset_name }}-Intel/* -Destination ${{ runner.workspace }}/build/hdf5/ -Include *.msi | ||
cd "${{ runner.workspace }}/build" | ||
7z a -tzip ${{ steps.set-file-base.outputs.FILE_BASE }}-win-vs2022_intel.msi.zip hdf5 | ||
shell: pwsh | ||
|
||
- name: List files in the space (Windows_intel) | ||
run: | | ||
Get-ChildItem -Path ${{ github.workspace }} | ||
|
@@ -484,6 +517,13 @@ | |
path: ${{ runner.workspace }}/build/${{ steps.set-file-base.outputs.FILE_BASE }}-win-vs2022_intel.zip | ||
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn` | ||
|
||
- name: Save published msi binary (Windows_intel) | ||
uses: actions/upload-artifact@v4 | ||
Check warning Code scanning / Scorecard Pinned-Dependencies Medium
score is 2: GitHub-owned GitHubAction not pinned by hash
Remediation tip: update your workflow using https://app.stepsecurity.io Click Remediation section below for further remediation help |
||
with: | ||
name: msi-vs2022_intel-binary | ||
path: ${{ runner.workspace }}/build/${{ steps.set-file-base.outputs.FILE_BASE }}-win-vs2022_intel.msi.zip | ||
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn` | ||
|
||
build_and_test_linux_intel: | ||
# Linux (Ubuntu) w/ OneAPI + CMake | ||
# | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: hdf5 publish files in HDF5 folder from branch to S3 | ||
Check failure Code scanning / Scorecard Token-Permissions High
score is 0: no topLevel permission defined
Remediation tip: Visit https://app.stepsecurity.io/secureworkflow. Tick the 'Restrict permissions for GITHUB_TOKEN' Untick other options NOTE: If you want to resolve multiple issues at once, you can visit https://app.stepsecurity.io/securerepo instead. Click Remediation section below for further remediation help |
||
|
||
# Triggers the workflow on demand | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
local_dir: | ||
description: 'HDF5 local directory' | ||
type: string | ||
required: true | ||
target_dir: | ||
description: 'hdf5 target bucket directory' | ||
type: string | ||
required: true | ||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
publish-tag: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- name: Get Sources | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
with: | ||
fetch-depth: 0 | ||
ref: '${{ github.head_ref || github.ref_name }}' | ||
|
||
- name: List files for the space | ||
run: | | ||
ls -l ${{ github.workspace }} | ||
ls ${{ github.workspace }}/HDF5 | ||
|
||
- name: Setup AWS CLI | ||
uses: aws-actions/configure-aws-credentials@v4 | ||
Check warning Code scanning / Scorecard Pinned-Dependencies Medium
score is 1: third-party GitHubAction not pinned by hash
Remediation tip: update your workflow using https://app.stepsecurity.io Click Remediation section below for further remediation help |
||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
aws-region: ${{ secrets.AWS_REGION }} | ||
|
||
- name: Sync dir to S3 bucket | ||
run: | | ||
aws s3 sync ./HDF5/${{ inputs.local_dir }} s3://${{ secrets.AWS_S3_BUCKET }}/${{ vars.TARGET_PATH }}/${{ inputs.target_dir }} | ||
|
Check warning
Code scanning / Scorecard
Pinned-Dependencies Medium