Skip to content

Commit

Permalink
windows perl tryout
Browse files Browse the repository at this point in the history
  • Loading branch information
lausdahl committed Oct 24, 2024
1 parent aa89db8 commit 31137c5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,12 @@ jobs:
shell: bash
run: ./scripts/_build_base.sh darwin-x64 darwin-x86_64

- name: Set Perl environment variables # https://github.com/sfackler/rust-openssl/issues/2149
if: matrix.os == 'windows-latest'
run: |
cpan -i Locale::Maketext::Simple
echo "PERL=$((where.exe perl)[0])" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
echo "OPENSSL_SRC_PERL=$((where.exe perl)[0])" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
# - name: Set Perl environment variables # https://github.com/sfackler/rust-openssl/issues/2149
# if: matrix.os == 'windows-latest'
# run: |
# cpan -i Locale::Maketext::Simple
# echo "PERL=$((where.exe perl)[0])" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
# echo "OPENSSL_SRC_PERL=$((where.exe perl)[0])" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8

- name: Build Windows
if: matrix.os == 'windows-latest'
Expand Down
4 changes: 2 additions & 2 deletions scripts/_build_base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ fi


mkdir -p build/external/$install_name
build_xercersc $working_dir/xerces-c build/external/$install_name/xerces-c
#build_xercersc $working_dir/xerces-c build/external/$install_name/xerces-c
build_openssl $repo/thirdparty/openssl $(readlink -f "build/external/$install_name")/openssl

build_xercersc $working_dir/xerces-c build/external/$install_name/xerces-c

echo Running CMake
rm -f thirdparty/rabbitmq-c/rabbitmq-c/librabbitmq/config.h
Expand Down

0 comments on commit 31137c5

Please sign in to comment.