Skip to content

Commit

Permalink
Update cmake.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vsoftco committed Nov 29, 2023
1 parent 69f8a9d commit 6086291
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ jobs:
build:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
# os: [ ubuntu-latest, macos-latest, windows-latest ]
os: [ windows-latest ]
runs-on: ${{ matrix.os }}

steps:
Expand All @@ -26,19 +27,19 @@ jobs:
.\vcpkg\bootstrap-vcpkg.bat
.\vcpkg\vcpkg install pkgconf:x64-windows
- name: Install gmp
shell: bash
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
./vcpkg/vcpkg install gmp:x64-windows
elif [ "$RUNNER_OS" == "Linux" ]; then
sudo apt-get install -y libgmp-dev
elif [ "$RUNNER_OS" == "macOS" ]; then
brew install gmp
else
echo "$RUNNER_OS not supported"
exit 1
fi
# - name: Install gmp
# shell: bash
# run: |
# if [ "$RUNNER_OS" == "Windows" ]; then
# ./vcpkg/vcpkg install gmp:x64-windows
# elif [ "$RUNNER_OS" == "Linux" ]; then
# sudo apt-get install -y libgmp-dev
# elif [ "$RUNNER_OS" == "macOS" ]; then
# brew install gmp
# else
# echo "$RUNNER_OS not supported"
# exit 1
# fi

- name: Configure staq
shell: bash
Expand Down

0 comments on commit 6086291

Please sign in to comment.