diff options
author | crupest <crupest@outlook.com> | 2021-08-10 01:16:37 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-08-10 01:16:37 +0800 |
commit | ad287bbe59b0b01cc56b90076b02a8cd9baa712e (patch) | |
tree | 2cae75e2214474eccf88f7c2f85844b21a1a438d /.github/workflows/ci.yml | |
parent | d2448884500811bf1cd1eba89e7a4193a76c4d6b (diff) | |
download | cru-ad287bbe59b0b01cc56b90076b02a8cd9baa712e.tar.gz cru-ad287bbe59b0b01cc56b90076b02a8cd9baa712e.tar.bz2 cru-ad287bbe59b0b01cc56b90076b02a8cd9baa712e.zip |
..
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r-- | .github/workflows/ci.yml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 33ca8010..0ceea278 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,10 +21,6 @@ jobs: build: name: Build runs-on: windows-latest - strategy: - matrix: - buildConfiguration: [Debug, Release] - architecture: [x86, x64] steps: - uses: actions/checkout@v2 @@ -36,4 +32,10 @@ jobs: key: vcpkg-${{ runner.os }} - name: Run build script - run: python tools\win_build.py -a ${{ matrix.architecture }} -c ${{ matrix.buildConfiguration }} + shell: powershell + run: | + & ./tools/Use-VC.ps1 + Use-VC + mkdir build && cd build + cmake .. -G Ninja -DCMAKE_BUILD_TYPE:STRING=Debug + ninja all |