Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
windows
Browse files Browse the repository at this point in the history
  • Loading branch information
4ra1n committed Jan 16, 2024
1 parent 6185125 commit 5a84134
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: jar analyzer build
name: windows action

on:
workflow_dispatch:
Expand Down Expand Up @@ -28,6 +28,14 @@ jobs:
curl -L https://github.com/ninja-build/ninja/releases/download/v1.11.1/ninja-win.zip -o ninja.zip
Expand-Archive -LiteralPath ninja.zip -DestinationPath . -Force
- name: build
run: |
cd native
..\cmake-3.28.0-rc4-windows-x86_64\bin\cmake.exe -DCMAKE_BUILD_TYPE=Release -DCMAKE_MAKE_PROGRAM=..\ninja.exe -G Ninja -S . -B build-release
..\cmake-3.28.0-rc4-windows-x86_64\bin\cmake.exe --build build-release --target all
python main.py
Compress-Archive -Path target\* -DestinationPath build-windows.zip
- name: upload artifact
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 5a84134

Please sign in to comment.