diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index f5afe6e..57cd0e7 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -1,4 +1,4 @@ -name: jar analyzer build +name: windows action on: workflow_dispatch: @@ -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: