mirror of
https://github.com/wez/wezterm.git
synced 2024-12-24 13:52:55 +03:00
Try harder to tell cargo where to find perl
It doesn't seem to be finding the executable we want
This commit is contained in:
parent
2ea2adf682
commit
af084ee720
8
.github/workflows/windows.yml
vendored
8
.github/workflows/windows.yml
vendored
@ -17,9 +17,6 @@ jobs:
|
|||||||
rust_toolchain: [x86_64-pc-windows-msvc]
|
rust_toolchain: [x86_64-pc-windows-msvc]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- name: Maybe get perl in the path
|
|
||||||
run: |
|
|
||||||
echo "::set-env OPENSSL_SRC_PERL=C:/Strawberry/perl/bin/perl.exe"
|
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
@ -34,6 +31,7 @@ jobs:
|
|||||||
rustc -V
|
rustc -V
|
||||||
cargo -V
|
cargo -V
|
||||||
path
|
path
|
||||||
|
where perl
|
||||||
- name: Cache cargo registry
|
- name: Cache cargo registry
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
@ -51,7 +49,9 @@ jobs:
|
|||||||
key: ${{ matrix.os }}-${{ matrix.rust_toolchain }}-cargo-build-target-${{ hashFiles('Cargo.lock') }}
|
key: ${{ matrix.os }}-${{ matrix.rust_toolchain }}-cargo-build-target-${{ hashFiles('Cargo.lock') }}
|
||||||
- name: Build
|
- name: Build
|
||||||
shell: cmd
|
shell: cmd
|
||||||
run: cargo build --all --release
|
run: |
|
||||||
|
set OPENSSL_SRC_PERL=%HOME%/perl/bin/perl.exe
|
||||||
|
cargo build --all --release
|
||||||
- name: Test
|
- name: Test
|
||||||
shell: cmd
|
shell: cmd
|
||||||
run: cargo test --all --release
|
run: cargo test --all --release
|
||||||
|
Loading…
Reference in New Issue
Block a user