Skip to content

Commit

Permalink
trying to run windows uda_cli test in github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-dixon committed Jul 24, 2024
1 parent 0e6a161 commit d0407fa
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
# key: ${{ runner.os }}-build-${{ env.cache-name }}

- name: Install windows dependencies
if: matrix.os == 'windows-latest'
if: matrix.os == 'windows-2019'
# vcpkg install --triplet x64-mingw-static --binarysource="clear;x-gha,readwrite"
# rm -r $VCPKG_INSTALLATION_ROOT/buildtrees &&
# git -C $VCPKG_INSTALLATION_ROOT pull &&
Expand Down Expand Up @@ -132,21 +132,21 @@ jobs:
-DOPENSSL_ROOT_DIR="$(brew --prefix openssl@3)"
- name: Configure portable XDR
if: matrix.os == 'windows-latest'
if: matrix.os == 'windows-2019'
run: >
cd extlib
&& cmake -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -B build -G "MinGW Makefiles" .
- name: Build portable XDR
if: matrix.os == 'windows-latest'
if: matrix.os == 'windows-2019'
run: cd extlib && cmake --build build

- name: Install portable XDR
if: matrix.os == 'windows-latest'
if: matrix.os == 'windows-2019'
run: cd extlib && cmake --install build --prefix install

- name: Configure CMake (windows)
if: matrix.os == 'windows-latest'
if: matrix.os == 'windows-2019'
run: >
XDR_ROOT=extlib/install cmake -G "MinGW Makefiles" -B build
-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake
Expand All @@ -161,16 +161,16 @@ jobs:
run: cmake --build build --config ${{ matrix.release }}

- name: Install
if: matrix.os != 'windows-latest'
if: matrix.os != 'windows-2019'
run: sudo cmake --install build --config ${{ matrix.release }}

- name: Install
if: matrix.os == 'windows-latest'
if: matrix.os == 'windows-2019'
run: >
cmake --install build --config ${{ matrix.release }}
- name: Test windows mingw client
if: matrix.os == 'windows-latest'
if: matrix.os == 'windows-2019'
run: >
ls install && ls install/bin &&
./install/bin/uda_cli.exe -h 34.75.87.48 -p 56565 --ping
Expand Down

0 comments on commit d0407fa

Please sign in to comment.