Skip to content

Commit

Permalink
Try 26 ssl
Browse files Browse the repository at this point in the history
  • Loading branch information
gitbuda committed Aug 24, 2024
1 parent b52a1b1 commit a212ad5
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,14 @@ jobs:
arch:
- { mingw: 64, msys: x86_64 }
runs-on: ${{ matrix.platform }}
# TODO(gitbuda): Maybe shell is a problem, under https://github.com/memgraph/mgclient/blob/master/.github/workflows/ci.yml
defaults:
run:
shell: msys2 {0}

steps:
- name: Install Rustup using win.rustup.rs
shell: pwsh
run: |
# Disable the download progress bar which can cause perf issues
$ProgressPreference = "SilentlyContinue"
Expand All @@ -114,27 +119,20 @@ jobs:
del rustup-init.exe
- uses: msys2/setup-msys2@v2
# From https://github.com/msys2/setup-msys2?tab=readme-ov-file#msys2-location
id: msys2
with:
msystem: MINGW${{ matrix.arch.mingw }}
update: true
install: git mingw-w64-${{ matrix.arch.msys }}-toolchain mingw-w64-${{ matrix.arch.msys }}-cmake mingw-w64-${{ matrix.arch.msys }}-openssl

# - name: Figure out where is openssl
# run: |
# openssl version -a # NOTE: This gives non-MinGW SSL
# - name: Figure out where is openssl
# run: |
# Get-ChildItem C: -Recurse -Name "libssl.dll.a"
# echo "C:/msys64/mingw${{ matrix.arch.mingw }}/bin" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
- name: Debug
run: |
ls "${{ steps.msys2.outputs.msys2-location }}/mingw64/lib"
- name: Define required environment variables
run: |
echo "CMAKE_GENERATOR=MinGW Makefiles" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8
# NOTE: https://github.com/msys2/setup-msys2?tab=readme-ov-file#msys2-location
echo "OPENSSL_LIB_DIR=${{ steps.msys2.outputs.msys2-location }}/mingw${{ matrix.arch.mingw }}" | Out-File -Append -FilePath $env:GITHUB_ENV -Encoding utf8
- uses: actions/checkout@v2
Expand Down

0 comments on commit a212ad5

Please sign in to comment.