Skip to content

Commit

Permalink
Aggregating dotnet and python build (#12)
Browse files Browse the repository at this point in the history
* Temporary remove arm64

* Updating for new parameters

* Running for branch

* Updating for spacesdk-client workspace

* Adding new workflow

* Fixing workflow

* Fixing parameters

* Adding arm64

* Testing arm64 build

* Removing old workflows

* Fixing readme with badge

* Flip to main

---------

Co-authored-by: Kevin Mack <[email protected]>
  • Loading branch information
KevinDMack and Kevin Mack authored Jul 11, 2024
1 parent 1c0dace commit 9e0806d
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 79 deletions.
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:
- main

jobs:
build-spacefx-client-amd64:
permissions:
contents: read
packages: write

uses: microsoft/azure-orbital-space-sdk-github-actions/.github/workflows/client-build.yaml@main
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
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.yaml@main
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
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 }}
48 changes: 0 additions & 48 deletions .github/workflows/spacefx-client-dotnet-build.yaml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/spacefx-client-python-build.yaml

This file was deleted.

4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Azure Orbital Space SDK - Client Libraries

[![platform-mts-build](https://github.com/microsoft/azure-orbital-space-sdk-platform-mts/actions/workflows/platform-mts-build-publish.yaml/badge.svg)](https://github.com/microsoft/azure-orbital-space-sdk-platform-mts/actions/workflows/platform-mts-build-publish.yaml)

[![test-platform-mts](https://github.com/microsoft/azure-orbital-space-sdk-platform-mts/actions/workflows/platform-mts-test.yaml/badge.svg)](https://github.com/microsoft/azure-orbital-space-sdk-platform-mts/actions/workflows/platform-mts-test.yaml)
[![spacefx-client-build](https://github.com/microsoft/azure-orbital-space-sdk-client/actions/workflows/spacefx-client-build.yaml/badge.svg)](https://github.com/microsoft/azure-orbital-space-sdk-client/actions/workflows/spacefx-client-build.yaml)

This repository hosts the DotNet and Python client libraries used by Payload Apps to interact with the Microsoft Azure Orbital Space SDK

Expand Down

0 comments on commit 9e0806d

Please sign in to comment.