diff --git a/.github/workflows/ci-beta.yml b/.github/workflows/ci-beta.yml new file mode 100644 index 00000000..b7ade026 --- /dev/null +++ b/.github/workflows/ci-beta.yml @@ -0,0 +1,138 @@ +# Beta-tier proxy, BHoM variant. Bundles the tier's checks plus +# copyright-compliance (BHoM enforces OSS copyright; the BHE variant omits it). +# Copy to .github/workflows/ci-beta.yml in each BHoM beta repo. +# Runs on pull_request, non-blocking until a ruleset requires its checks. +# Workflow name CI keeps check contexts bare: required contexts are the job names. + +name: CI + +on: + pull_request: + branches: + - develop + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }} + cancel-in-progress: true + +jobs: + ci-build: + runs-on: windows-2025-vs2026 + timeout-minutes: 30 + steps: + - name: Run build + uses: BHoM/CI_Toolkit/.github/actions/ci-build@develop + with: + app_id: ${{ secrets.BHOM_APP_ID }} + private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }} + + ci-code-compliance: + runs-on: windows-2025-vs2026 + timeout-minutes: 20 + permissions: + contents: read + pull-requests: read + actions: write + steps: + - name: Run code compliance + uses: BHoM/CI_Toolkit/.github/actions/ci-compliance@develop + with: + check_type: code + patterns: '*.cs' + app_id: ${{ secrets.BHOM_APP_ID }} + private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }} + + ci-copyright-compliance: + runs-on: windows-2025-vs2026 + timeout-minutes: 20 + permissions: + contents: read + pull-requests: read + actions: write + steps: + - name: Run copyright compliance + uses: BHoM/CI_Toolkit/.github/actions/ci-compliance@develop + with: + check_type: copyright + patterns: '*.cs' + app_id: ${{ secrets.BHOM_APP_ID }} + private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }} + + ci-dataset-compliance: + runs-on: windows-2025-vs2026 + timeout-minutes: 20 + permissions: + contents: read + pull-requests: read + actions: write + steps: + - name: Run dataset compliance + uses: BHoM/CI_Toolkit/.github/actions/ci-compliance@develop + with: + check_type: dataset + patterns: ':(icase)*datasets*.json' + app_id: ${{ secrets.BHOM_APP_ID }} + private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }} + + ci-documentation-compliance: + runs-on: windows-2025-vs2026 + timeout-minutes: 20 + permissions: + contents: read + pull-requests: read + actions: write + steps: + - name: Run documentation compliance + uses: BHoM/CI_Toolkit/.github/actions/ci-compliance@develop + with: + check_type: documentation + patterns: '*.cs' + app_id: ${{ secrets.BHOM_APP_ID }} + private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }} + + ci-project-compliance: + runs-on: windows-2025-vs2026 + timeout-minutes: 20 + permissions: + contents: read + pull-requests: read + actions: write + steps: + - name: Run project compliance + uses: BHoM/CI_Toolkit/.github/actions/ci-compliance@develop + with: + check_type: project + patterns: '*AssemblyInfo.cs *.csproj' + app_id: ${{ secrets.BHOM_APP_ID }} + private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }} + + ci-dataset-tests: + runs-on: windows-2025-vs2026 + timeout-minutes: 30 + steps: + - name: Run dataset tests + uses: BHoM/CI_Toolkit/.github/actions/ci-dataset-tests@develop + with: + app_id: ${{ secrets.BHOM_APP_ID }} + private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }} + + ci-serialisation: + runs-on: windows-2025-vs2026 + timeout-minutes: 90 + steps: + - name: Run serialisation + uses: BHoM/CI_Toolkit/.github/actions/ci-serialisation@develop + with: + app_id: ${{ secrets.BHOM_APP_ID }} + private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }} + base_ref: ${{ github.base_ref }} + + ci-versioning: + runs-on: windows-2025-vs2026 + timeout-minutes: 90 + steps: + - name: Run versioning + uses: BHoM/CI_Toolkit/.github/actions/ci-versioning@develop + with: + app_id: ${{ secrets.BHOM_APP_ID }} + private_key: ${{ secrets.BHOM_APP_PRIVATE_KEY }} diff --git a/ExcelUI_Engine/ExcelUI_Engine.csproj b/ExcelUI_Engine/ExcelUI_Engine.csproj index e89b6e40..0a112daa 100644 --- a/ExcelUI_Engine/ExcelUI_Engine.csproj +++ b/ExcelUI_Engine/ExcelUI_Engine.csproj @@ -1,37 +1,37 @@ - - -net472 - Library - BH.Engine.Excel - ..\Build\ - false - ExcelUI_Engine - https://github.com/BHoM/Excel_UI - BHoM - Copyright � https://github.com/BHoM - 9.0.0.0 - 9.2.0.0 - - - - - - - $(ProgramData)\BHoM\Assemblies\BHoM.dll - False - False - - - $(ProgramData)\BHoM\Assemblies\BHoM_Engine.dll - False - False - - - $(ProgramData)\BHoM\Assemblies\Reflection_Engine.dll - False - False - - - - - + + +net472 + Library + BH.Engine.Excel + ..\Build\ + false + ExcelUI_Engine + https://github.com/BHoM/Excel_UI + BHoM + Copyright � https://github.com/BHoM + 9.0.0.0 + 9.3.0.0 + + + + + + + $(ProgramData)\BHoM\Assemblies\BHoM.dll + False + False + + + $(ProgramData)\BHoM\Assemblies\BHoM_Engine.dll + False + False + + + $(ProgramData)\BHoM\Assemblies\Reflection_Engine.dll + False + False + + + + + diff --git a/Excel_UI/Excel_UI.csproj b/Excel_UI/Excel_UI.csproj index 705444f5..6743c31b 100644 --- a/Excel_UI/Excel_UI.csproj +++ b/Excel_UI/Excel_UI.csproj @@ -1,108 +1,108 @@ - - -net472 - Library - BH.UI.Excel - true - true - true - ..\Build\ - false - en-US - https://github.com/BHoM/Excel_UI - Copyright © https://github.com/BHoM - 9.0.0.0 - 9.2.0.0 - - - - - - - $(ProgramData)\BHoM\Assemblies\Adapter_Engine.dll - False - False - - - $(ProgramData)\BHoM\Assemblies\Adapter_oM.dll - False - False - - - False - $(ProgramData)\BHoM\Assemblies\BHoM.dll - False - - - $(ProgramData)\BHoM\Assemblies\BHoM_Adapter.dll - False - False - - - $(ProgramData)\BHoM\Assemblies\BHoM_Engine.dll - False - False - - - $(ProgramData)\BHoM\Assemblies\BHoM_UI.dll - False - False - - - False - $(ProgramData)\BHoM\Assemblies\Data_oM.dll - False - - - False - $(ProgramData)\BHoM\Assemblies\Reflection_Engine.dll - False - - - False - $(ProgramData)\BHoM\Assemblies\Serialiser_Engine.dll - False - - - False - $(ProgramData)\BHoM\Assemblies\UI_Engine.dll - False - - - False - $(ProgramData)\BHoM\Assemblies\UI_oM.dll - False - - - False - $(ProgramData)\BHoM\Assemblies\Versioning_oM.dll - False - - - ..\libs\office.dll - False - - - - - - - - - - - - - - - - Program - C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE - - - C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE - - - Program - - + + +net472 + Library + BH.UI.Excel + true + true + true + ..\Build\ + false + en-US + https://github.com/BHoM/Excel_UI + Copyright © https://github.com/BHoM + 9.0.0.0 + 9.3.0.0 + + + + + + + $(ProgramData)\BHoM\Assemblies\Adapter_Engine.dll + False + False + + + $(ProgramData)\BHoM\Assemblies\Adapter_oM.dll + False + False + + + False + $(ProgramData)\BHoM\Assemblies\BHoM.dll + False + + + $(ProgramData)\BHoM\Assemblies\BHoM_Adapter.dll + False + False + + + $(ProgramData)\BHoM\Assemblies\BHoM_Engine.dll + False + False + + + $(ProgramData)\BHoM\Assemblies\BHoM_UI.dll + False + False + + + False + $(ProgramData)\BHoM\Assemblies\Data_oM.dll + False + + + False + $(ProgramData)\BHoM\Assemblies\Reflection_Engine.dll + False + + + False + $(ProgramData)\BHoM\Assemblies\Serialiser_Engine.dll + False + + + False + $(ProgramData)\BHoM\Assemblies\UI_Engine.dll + False + + + False + $(ProgramData)\BHoM\Assemblies\UI_oM.dll + False + + + False + $(ProgramData)\BHoM\Assemblies\Versioning_oM.dll + False + + + ..\libs\office.dll + False + + + + + + + + + + + + + + + + Program + C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE + + + C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE + + + Program + + diff --git a/Excel_UI/Properties/Resources.Designer.cs b/Excel_UI/Properties/Resources.Designer.cs index 6e5f1918..e4e98e83 100644 --- a/Excel_UI/Properties/Resources.Designer.cs +++ b/Excel_UI/Properties/Resources.Designer.cs @@ -87,8 +87,8 @@ internal Resources() { /// internal static System.Drawing.Bitmap BHoM_Logo { get { - object obj = ResourceManager.GetObject("BHoM_Logo", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); + byte[] bytes = (byte[])ResourceManager.GetObject("BHoM_Logo", resourceCulture); + return new System.Drawing.Bitmap(new System.IO.MemoryStream(bytes)); } } } diff --git a/Excel_UI/Properties/Resources.resx b/Excel_UI/Properties/Resources.resx index 2e9e2e2a..54c491ba 100644 --- a/Excel_UI/Properties/Resources.resx +++ b/Excel_UI/Properties/Resources.resx @@ -119,6 +119,6 @@ - Resources\BHoM_Logo-48x48.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + Resources\BHoM_Logo-48x48.png;System.Byte[], mscorlib \ No newline at end of file