Skip to content

Commit

Permalink
Adding new workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Mack committed Jul 11, 2024
1 parent 5a2a416 commit 1686b4d
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 1 deletion.
58 changes: 58 additions & 0 deletions .github/workflows/spacefx-client-build.yaml
Original file line number Diff line number Diff line change
@@ -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 }}
2 changes: 1 addition & 1 deletion .github/workflows/spacefx-client-python-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
push:
branches:
- km/add_dotnet_build
- main

jobs:
build-spacefx-client-python-amd64:
Expand Down

0 comments on commit 1686b4d

Please sign in to comment.