-
Notifications
You must be signed in to change notification settings - Fork 15
SDK Installer test on all platforms #156
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
base: develop
Are you sure you want to change the base?
Changes from 1 commit
a9515e0
e2d988a
49aaa6e
3124cbd
cbbd260
2cb984f
dea721b
78ce073
817fa98
77a127f
4c7aae5
e3bf56c
976c482
1975a70
dcbbdd2
8721379
9e6f748
e7885eb
11600eb
61dff0d
8d3b3e0
a85e66c
c03a038
8742b73
e0f46c3
9a404be
2d36564
626a501
287a76c
9f02ada
1bfa708
4d7e35e
4daa011
cf87ef2
2233455
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 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -3,22 +3,22 @@ name: Test OS SDK Installer - All Platforms | |||||||||||
| on: | ||||||||||||
| workflow_dispatch: | ||||||||||||
| inputs: | ||||||||||||
| os_installer_ubuntu_1804: | ||||||||||||
| description: 'Ubuntu 1804 (.deb) URL' | ||||||||||||
| base_url: | ||||||||||||
| description: 'The base url to use to download each platform' | ||||||||||||
| required: true | ||||||||||||
| default: 'https://github.com/NREL/OpenStudio/releases/download/v3.2.1/OpenStudio-3.2.1%2Bbdbdbc9da6-Ubuntu-18.04.deb' | ||||||||||||
| os_installer_ubuntu_2004: | ||||||||||||
| description: 'Ubuntu 2004 (.deb) URL' | ||||||||||||
| default: 'https://github.com/NREL/OpenStudio/releases/download/v3.2.1/' | ||||||||||||
| os_version: | ||||||||||||
| description: 'OpenStudio Build sha (first 10 chars)' | ||||||||||||
| required: true | ||||||||||||
| default: 'https://github.com/NREL/OpenStudio/releases/download/v3.2.1/OpenStudio-3.2.1%2Bbdbdbc9da6-Ubuntu-20.04.deb' | ||||||||||||
| os_installer_windows: | ||||||||||||
| description: 'Windows (.exe) URL' | ||||||||||||
| default: 'bdbdbc9da6' | ||||||||||||
| os_prerelease_tag: | ||||||||||||
| description: 'Pre-release tag (e.g. -alpha, -rc1)' | ||||||||||||
| required: true | ||||||||||||
| default: 'https://github.com/NREL/OpenStudio/releases/download/v3.2.1/OpenStudio-3.2.1%2Bbdbdbc9da6-Windows.exe' | ||||||||||||
| os_installer_osx: | ||||||||||||
| description: 'Mac OSX (.dmg) URL' | ||||||||||||
| required: true | ||||||||||||
| default: 'https://github.com/NREL/OpenStudio/releases/download/v3.2.1/OpenStudio-3.2.1%2Bbdbdbc9da6-Darwin.dmg' | ||||||||||||
| default: '' | ||||||||||||
| os_build_sha: | ||||||||||||
| description: 'OpenStudio Build sha (first 10 chars)' | ||||||||||||
| required: true | ||||||||||||
| default: 'bdbdbc9da6' | ||||||||||||
|
|
||||||||||||
| jobs: | ||||||||||||
| installer_ubuntu_1804: | ||||||||||||
|
|
@@ -37,9 +37,10 @@ jobs: | |||||||||||
| shell: bash | ||||||||||||
| run: | | ||||||||||||
| set -x | ||||||||||||
| echo "Installer link: ${{ github.event.inputs.os_installer_ubuntu_1804 }}" | ||||||||||||
| installer_url="${{ github.event.inputs.base_url}}OpenStudio-${{ github.event.inputs.os_version}}${{ github.event.inputs.os_prerelease_tag}}%2B${{ github.event.inputs.os_build_sha}}-Ubuntu-18.04.deb" | ||||||||||||
|
||||||||||||
| installer_url="${{ github.event.inputs.base_url}}OpenStudio-${{ github.event.inputs.os_version}}${{ github.event.inputs.os_prerelease_tag}}%2B${{ github.event.inputs.os_build_sha}}-Ubuntu-18.04.deb" | |
| base_url="${{ github.event.inputs.base_url}}" | |
| # remove trailing slash if any | |
| base_url=${base_url%/} | |
| installer_url="$base_url/OpenStudio-${{ github.event.inputs.os_version}}${{ github.event.inputs.os_prerelease_tag}}%2B${{ github.event.inputs.os_build_sha}}-Ubuntu-18.04.deb" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, this would be good to add.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we expect to use builds from s3 instead of a prerelease? just curious
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, I recently used s3 as a test and works fine.