From 04777e8031d215414aba879dfea69e1c45798025 Mon Sep 17 00:00:00 2001 From: NSoiffer Date: Sat, 4 May 2024 02:12:54 +0100 Subject: [PATCH] Add ARM 64 windows build --- .github/workflows/automaticRelease.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/automaticRelease.yaml b/.github/workflows/automaticRelease.yaml index 69071bb..cbb4061 100644 --- a/.github/workflows/automaticRelease.yaml +++ b/.github/workflows/automaticRelease.yaml @@ -46,6 +46,21 @@ jobs: filename: '../../../libmathcat32.zip' directory: target/i686-pc-windows-msvc/release path: libmathcat_c* + - name: Build ARM 64 bit version + run: cargo build --target aarch64-pc-windows-msvc --release + - name: test build + run: | + cp target/aarch64-pc-windows-msvc/release/libmathcat_c.dll c-example/ + cd c-example + gcc test.cpp -o test -L. -llibmathcat_c + ./test.exe + - name: create arm libmathcat64 + uses: thedoctor0/zip-release@0.7.5 + with: + type: 'zip' + filename: '../../../libmathcat-arm64.zip' + directory: aarch64-pc-windows-msvc/release + path: libmathcat_c* - name: Automatic release uses: marvinpinto/action-automatic-releases@latest with: