mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
fixed 'uses' error
This commit is contained in:
parent
d0001438fe
commit
c365201d4f
11
.github/workflows/build_and_test.yml
vendored
11
.github/workflows/build_and_test.yml
vendored
@ -45,20 +45,21 @@ jobs:
|
|||||||
echo "$RUNNER_OS not supported"
|
echo "$RUNNER_OS not supported"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
run: |
|
run: |
|
||||||
if [ "$RUNNER_OS" == "Windows" ]; then
|
if [ "$RUNNER_OS" == "Windows" ]; then
|
||||||
cmake \
|
cmake \
|
||||||
-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake \
|
-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake \
|
||||||
-DCROW_FEATURES="ssl;compression" \
|
-DCROW_FEATURES="ssl;compression" \
|
||||||
-DCROW_AMALGAMATE=ON \
|
-DCROW_AMALGAMATE=ON \
|
||||||
-B build
|
-B build
|
||||||
else
|
else
|
||||||
cmake -B build
|
cmake -B build
|
||||||
fi
|
fi
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
# Build your program with the given configuration
|
# Build your program with the given configuration
|
||||||
run: cmake --build build --config ${{env.BUILD_TYPE}}
|
run: cmake --build build --config ${{env.BUILD_TYPE}}
|
||||||
@ -84,8 +85,8 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
|
|
||||||
- name: Save PR number
|
- name: Save report
|
||||||
- uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
with:
|
with:
|
||||||
name: coveralls.json
|
name: coveralls.json
|
||||||
|
Loading…
Reference in New Issue
Block a user