Skip to content

Commit 4064aae

Browse files
committed
add winarm64 build
1 parent df2a07b commit 4064aae

1 file changed

Lines changed: 48 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,53 @@ jobs:
313313
path: build/win/build/stalker-gamma-cli
314314
compression-level: 9
315315

316+
cli-windows-arm64:
317+
name: cli-windows-arm64
318+
runs-on: windows-11-arm
319+
outputs:
320+
version: ${{ steps.gitversion.outputs.SemVer }}
321+
env:
322+
APP_NAME: stalker-gamma-gui
323+
PROJECT_FOLDER: stalker-gamma-cli
324+
PROJECT_NAME: stalker-gamma-cli.csproj
325+
CONFIGURATION: Release
326+
steps:
327+
- name: Checkout
328+
uses: actions/checkout@v6
329+
with:
330+
fetch-depth: 0
331+
332+
- name: Run Csharpier
333+
run: |
334+
dotnet tool restore
335+
dotnet csharpier check .
336+
337+
- name: Install GitVersion
338+
uses: gittools/actions/gitversion/setup@v0
339+
with:
340+
versionSpec: "5.x"
341+
342+
- name: Determine Version
343+
id: gitversion
344+
uses: gittools/actions/gitversion/execute@v0
345+
346+
- name: Build CLI
347+
run: build/win/build.bat ${{ steps.gitversion.outputs.SemVer }} arm64
348+
349+
- name: Create Release
350+
uses: softprops/action-gh-release@v2.4.2
351+
if: github.ref_type == 'tag'
352+
with:
353+
files: stalker-gamma+win.arm64.zip
354+
token: ${{ secrets.STALKER_GAMMA_CLI_SECRET }}
355+
356+
- name: Upload
357+
uses: actions/upload-artifact@v4
358+
with:
359+
name: stalker-gamma+win.arm64
360+
path: build/win/build/stalker-gamma-cli
361+
compression-level: 9
362+
316363
update-aur:
317364
name: update-aur
318365
runs-on: ubuntu-22.04
@@ -345,7 +392,7 @@ jobs:
345392
update-chocolatey:
346393
name: update-chocolatey
347394
runs-on: windows-latest
348-
needs: [cli-windows]
395+
needs: [cli-windows, cli-windows-arm64]
349396
if: github.ref_type == 'tag'
350397
steps:
351398
- name: Checkout

0 commit comments

Comments
 (0)