From 1961063512594fdcfb0d6026769253222fd9d1f0 Mon Sep 17 00:00:00 2001 From: Xiangyu Hu Date: Wed, 12 Jun 2024 08:18:30 +0200 Subject: [PATCH] move ahead of build system --- .github/workflows/ci.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b0452d24ef..4915288c9f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -301,6 +301,16 @@ jobs: - uses: ilammy/msvc-dev-cmd@v1 + # Enable VS code server debugging of manually-triggered workflows if the input option was provided + - name: 🐛 Install VS code + shell: pwsh + run: | + choco install vscode --refreshenv + cd 'C:\Program Files\Microsoft VS Code\bin' + ls + code-tunnel.exe --accept-server-license-terms + if: ${{ github.event_name == 'workflow_dispatch' && inputs.windows_build_debug_enabled }} + - name: Generate buildsystem run: | cmake.exe -G Ninja ` @@ -312,16 +322,6 @@ jobs: -S ${{github.workspace}} ` -B C:\build - # Enable VS code server debugging of manually-triggered workflows if the input option was provided - - name: 🐛 Install VS code - shell: pwsh - run: | - choco install vscode --refreshenv - cd 'C:\Program Files\Microsoft VS Code\bin' - ls - code-tunnel.exe --accept-server-license-terms - if: ${{ github.event_name == 'workflow_dispatch' && inputs.windows_build_debug_enabled }} - - name: Build run: cmake.exe --build C:\build --config Release --verbose