From 57e9f415070ad6126b2b37392490109c89037eb5 Mon Sep 17 00:00:00 2001 From: patsh Date: Wed, 6 Sep 2023 17:47:04 +0200 Subject: [PATCH] add windows relase --- .github/workflows/build-windows-release.yml | 33 +++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/build-windows-release.yml diff --git a/.github/workflows/build-windows-release.yml b/.github/workflows/build-windows-release.yml new file mode 100644 index 0000000..8fc2e99 --- /dev/null +++ b/.github/workflows/build-windows-release.yml @@ -0,0 +1,33 @@ +name: build release windows + +on: + workflow_dispatch: + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: ['windows-latest'] + fail-fast: false + steps: + - uses: actions/checkout@v2 + + - name: Add msbuild to PATH + uses: microsoft/setup-msbuild@v1.1 + with: + msbuild-architecture: x64 + + - name: run build + run: | + git submodule update --init --recursive + ./bootstrap + cd build + cmake -DCMAKE_BUILD_TYPE=RELEASE .. + msbuild ALL_BUILD.vcxproj /t:Build /p:Configuration=Release + + - name: upload artifacts + uses: actions/upload-artifact@v3 + with: + name: release-packages + path: ./build/sqlcheck.* \ No newline at end of file