From 1686b4d8167691d74ed6cb5ab215f61854b11ec9 Mon Sep 17 00:00:00 2001 From: Kevin Mack Date: Thu, 11 Jul 2024 18:54:10 +0000 Subject: [PATCH] Adding new workflow --- .github/workflows/spacefx-client-build.yaml | 58 +++++++++++++++++++ .../spacefx-client-python-build.yaml | 2 +- 2 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/spacefx-client-build.yaml diff --git a/.github/workflows/spacefx-client-build.yaml b/.github/workflows/spacefx-client-build.yaml new file mode 100644 index 0000000..31df064 --- /dev/null +++ b/.github/workflows/spacefx-client-build.yaml @@ -0,0 +1,58 @@ +name: spacefx-client-build + +on: + workflow_dispatch: + push: + branches: + - km/add_dotnet_build + +jobs: + build-spacefx-client-amd64: + permissions: + contents: read + packages: write + + uses: microsoft/azure-orbital-space-sdk-github-actions/.github/workflows/client-build.yml@km/add_build_steps + with: + DOTNET_APP_PROJECT: ./src/spacesdk-client.csproj + DOTNET_NUGET_PROJECT: ./src/spacesdk-client.csproj + DOTNET_OUTPUT_DIR: /var/spacedev/tmp/spacesdk-client + DOTNET_NUGET_STAGING_DIRECTORY: /var/spacedev/nuget/spacesdk-client + DOTNET_NUGET_FILE_PREFIX: Microsoft.Azure.SpaceSDK.Client + PYTHON_APP_PROJECT: spacefx + PYTHON_OUTPUT_DIR: /var/spacedev/tmp/spacesdk-client + PYTHON_WHEEL_STAGING_DIRECTORY: /var/spacedev/wheel/microsoftazurespacefx + PYTHON_WHEEL_FILE_PREFIX: microsoftazurespacefx + PYTHON_BUILD_PYTHON_WHEEL: true + ANNOTATION: azure-orbital-space-sdk-client.yaml + WORKFLOW_AGENT: ubuntu-latest + ARCHITECTURE: amd64 + secrets: + GIT_HUB_USER_NAME: ${{ secrets.GIT_HUB_USER_NAME }} + GIT_HUB_USER_TOKEN: ${{ secrets.GIT_HUB_USER_TOKEN }} + SETUP_REPO_URL: ${{ secrets.SETUP_REPO_URL }} + +# build-spacefx-client-dotnet-arm64: +# permissions: +# contents: read +# packages: write + +# uses: microsoft/azure-orbital-space-sdk-github-actions/.github/workflows/client-build.yml@km/add_build_steps +# with: +# DOTNET_APP_PROJECT: ./src/spacesdk-client.csproj +# DOTNET_NUGET_PROJECT: ./src/spacesdk-client.csproj +# DOTNET_OUTPUT_DIR: /var/spacedev/tmp/spacesdk-client +# DOTNET_NUGET_STAGING_DIRECTORY: /var/spacedev/nuget/spacesdk-client +# DOTNET_NUGET_FILE_PREFIX: Microsoft.Azure.SpaceSDK.Client +# PYTHON_APP_PROJECT: spacefx +# PYTHON_OUTPUT_DIR: /var/spacedev/tmp/spacesdk-client +# PYTHON_WHEEL_STAGING_DIRECTORY: /var/spacedev/wheel/microsoftazurespacefx +# PYTHON_WHEEL_FILE_PREFIX: microsoftazurespacefx +# PYTHON_BUILD_PYTHON_WHEEL: true +# ANNOTATION: azure-orbital-space-sdk-client.yaml +# WORKFLOW_AGENT: spacesdk-ubuntu-2204LTS-arm64 +# ARCHITECTURE: arm64 +# secrets: +# GIT_HUB_USER_NAME: ${{ secrets.GIT_HUB_USER_NAME }} +# GIT_HUB_USER_TOKEN: ${{ secrets.GIT_HUB_USER_TOKEN }} +# SETUP_REPO_URL: ${{ secrets.SETUP_REPO_URL }} \ No newline at end of file diff --git a/.github/workflows/spacefx-client-python-build.yaml b/.github/workflows/spacefx-client-python-build.yaml index b131757..01be69c 100644 --- a/.github/workflows/spacefx-client-python-build.yaml +++ b/.github/workflows/spacefx-client-python-build.yaml @@ -4,7 +4,7 @@ on: workflow_dispatch: push: branches: - - km/add_dotnet_build + - main jobs: build-spacefx-client-python-amd64: