diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 370e810..bd3f681 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -50,14 +50,17 @@ jobs: submodules: 'true' - name: Install CMake + if: runner.os == 'Linux' run: | - if [[ "${{ runner.os }}" == "Linux" ]]; then - sudo apt-get update - sudo apt-get install -y cmake - elif [[ "${{ runner.os }}" == "Windows" ]]; then - choco install cmake - fi - shell: ${{ matrix.shell }} + sudo apt-get update + sudo apt-get install -y cmake + shell: bash + + - name: Install CMake + if: runner.os == 'Windows' + run: | + choco install cmake + shell: pwsh - name: Build # Build your program with the given configuration diff --git a/QPandaLiteCpp/src/simulator.h b/QPandaLiteCpp/src/simulator.h index 9911fbe..ff62d33 100644 --- a/QPandaLiteCpp/src/simulator.h +++ b/QPandaLiteCpp/src/simulator.h @@ -6,6 +6,7 @@ #include #include #include +#include #include "errors.h" namespace qpandalite {