diff options
author | Saturneric <[email protected]> | 2021-06-20 11:10:00 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-06-20 11:10:00 +0000 |
commit | ab06e2f98544b7b988fffc987c0e96a36513825f (patch) | |
tree | 14c6b65fda47e3372b71b404a65e55f8a723796a | |
parent | Fix cmake.yml For Windows Build. (diff) | |
download | GpgFrontend-ab06e2f98544b7b988fffc987c0e96a36513825f.tar.gz GpgFrontend-ab06e2f98544b7b988fffc987c0e96a36513825f.zip |
Fix cmake.yml For Windows Build.
-rw-r--r-- | .github/workflows/cmake.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 13fddd2f..a06d7439 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -69,15 +69,15 @@ jobs: - name: Build GpgFrontend # Build your program with the given configuration - run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -- -j 2 + run: cmake --build ${{github.workspace}}/build --config $env.BUILD_TYPE}} -- -j 2 if: matrix.os == 'ubuntu-latest' && matrix.os == 'macos-latest' - name: Configure CMake (Windows) shell: msys2 {0} run: | - cd ${{github.workspace}} + cd $(echo "/"${{github.workspace}} | sed 's/\\/\//g' | sed 's/://') mkdir build && cd build - cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DEXECUTABLE_OUTPUT_PATH=${{env.EXECUTABLE_OUTPUT_PATH}} .. + cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DEXECUTABLE_OUTPUT_PATH=${{env.EXECUTABLE_OUTPUT_PATH}} .. if: matrix.os == 'windows-latest' - name: Build GpgFrontend (Windows) |