From bdceff7970bc88afc036df5f75c635133f059681 Mon Sep 17 00:00:00 2001 From: Sean Date: Wed, 19 Nov 2025 15:22:17 -0500 Subject: [PATCH] Test Build --- .gitea/workflows/arm64-ci.yaml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/arm64-ci.yaml b/.gitea/workflows/arm64-ci.yaml index 3cbe420..5303f16 100644 --- a/.gitea/workflows/arm64-ci.yaml +++ b/.gitea/workflows/arm64-ci.yaml @@ -13,11 +13,11 @@ jobs: - name: Checkout code uses: actions/checkout@v3 # Action to checkout your repository. actions/checkout@v4 fails with syntax error - - name: Setup NET 8.0 SDK (x64) - uses: actions/setup-dotnet@v3 # Use the latest version of setup-dotnet - with: - dotnet-version: '8.0.x' # Specify the desired .NET version - architecture: 'x64' # Explicitly request the 64-bit architecture +# - name: Setup NET 8.0 SDK (x64) +# uses: actions/setup-dotnet@v3 # Use the latest version of setup-dotnet +# with: +# dotnet-version: '8.0.x' # Specify the desired .NET version +# architecture: 'x64' # Explicitly request the 64-bit architecture # - name: Setup .NET SDK # uses: actions/setup-dotnet@v4 # Action to install a specific .NET SDK version @@ -30,11 +30,13 @@ jobs: - name: Build project run: | pwd - dotnet build --configuration Debug --no-restore # Build the project in Debug configuration -# dotnet publish MarketData/MarketData/MarketData.csproj --configuration Debug --runtime linux-x64 --self-contained true + dotnet publish MarketData/MarketData/MarketData.csproj -c Release -r linux-arm64 --self-contained=true + dotnet publish MarketDataServer/MarketDataServer.csproj -c Release -r linux-arm64 --self-contained=true + dotnet publish IPMonitor/IPMonitor.csproj -c Release -r linux-arm64 --self-contained=true +# dotnet build --configuration Debug --no-restore # Build the project in Debug configuration - name: Create Market Data archive with preserved permissions - run: tar -czvf marketdata.tar.gz MarketData/MarketData/bin/Debug/net8.0 + run: tar -czvf marketdata.tar.gz MarketData/MarketData/bin/Debug/net8.0/linux-arm64/publish - name: Upload Market Data Build Artifact uses: actions/upload-artifact@v3 @@ -43,7 +45,7 @@ jobs: path: marketdata.tar.gz - name: Create Market Data Server archive with preserved permissions - run: tar -czvf marketdata-server.tar.gz MarketDataServer/bin/Debug/net8.0 + run: tar -czvf marketdata-server.tar.gz MarketDataServer/bin/Debug/net8.0/linux-arm64/publish - name: Upload Market Data Server Build Artifact uses: actions/upload-artifact@v3 @@ -52,7 +54,7 @@ jobs: path: marketdata-server.tar.gz - name: Create IPMonitor archive with preserved permissions - run: tar -czvf ipmonitor.tar.gz IPMonitor/bin/Debug/net8.0 + run: tar -czvf ipmonitor.tar.gz IPMonitor/bin/Debug/net8.0/linux-arm64/publish - name: Upload IPMonitor Build Artifact uses: actions/upload-artifact@v3