Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bartpomietlo authored Sep 10, 2024
1 parent 5f2c5b2 commit ec686c6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:
- name: Print Environment Variables
run: |
echo "Printing environment variables:"
set
Get-ChildItem Env:
shell: pwsh

- name: Set up vcpkg
run: |
Expand All @@ -47,26 +48,26 @@ jobs:
echo "Configuring CMake..."
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake ..
echo "CMake configuration completed."
shell: cmd
shell: pwsh

- name: Verify Build Directory
run: |
echo "Listing build directory:"
dir build
shell: cmd
shell: pwsh

- name: Build
run: |
cd build
echo "Building project..."
cmake --build .
echo "Build completed."
shell: cmd
shell: pwsh

- name: Run Tests
run: |
cd build
echo "Running tests..."
ctest -C Debug --output-on-failure
echo "Tests completed."
shell: cmd
shell: pwsh

0 comments on commit ec686c6

Please sign in to comment.