Skip to content

Commit

Permalink
githubactions: Fix macos arch. Add cmake tool chain on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
aveenismail committed Nov 30, 2023
1 parent ca11005 commit 2fb5fe6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/macos_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
export INSTALL_PREFIX=/usr/local
cd yubico-piv-tool-$RELEASE_VERSION
./resources/macos/make_release_binaries.sh $RELEASE_VERSION $SO_VERSION $INSTALL_PREFIX
./resources/macos/make_release_binaries.sh ${{ matrix.arch }} $RELEASE_VERSION $SO_VERSION $INSTALL_PREFIX
mkdir $GITHUB_WORKSPACE/artifact
mv resources/macos/yubico-piv-tool-$RELEASE_VERSION-mac.zip $GITHUB_WORKSPACE/artifact/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
cd yubico-piv-tool-
mkdir build; cd build
cmake -A $env:ARCH_CMAKE -DVERBOSE_CMAKE=ON -DGETOPT_LIB_DIR=C:/vcpkg/packages/getopt-$env:ARCH_CMAKE_$env:ARCH-windows/lib -DGETOPT_INCLUDE_DIR=C:/vcpkg/packages/getopt-$env:ARCH_CMAKE_$env:ARCH-windows/include -DCHECK_PATH=C:/vcpkg/packages/check_$env:ARCH-windows ..
cmake -A $env:ARCH_CMAKE -DVERBOSE_CMAKE=ON -DCMAKE_TOOLCHAIN_FILE=C:\vcpkg\scripts\buildsystems\vcpkg.cmake -DGETOPT_LIB_DIR=C:/vcpkg/packages/getopt-$env:ARCH_CMAKE_$env:ARCH-windows/lib -DGETOPT_INCLUDE_DIR=C:/vcpkg/packages/getopt-$env:ARCH_CMAKE_$env:ARCH-windows/include -DCHECK_PATH=C:/vcpkg/packages/check_$env:ARCH-windows ..
cmake --build . -v
$env:Path +=";C:/vcpkg/packages/check_$env:ARCH-windows/bin;C:/vcpkg/packages/openssl_$env:ARCH-windows/bin;$env:GITHUB_WORKSPACE\yubico-piv-tool-\build\lib\Debug;$env:GITHUB_WORKSPACE\yubico-piv-tool-\build\ykcs11\Debug"
ctest.exe -C Debug
Expand Down

0 comments on commit 2fb5fe6

Please sign in to comment.