1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-24 22:01:47 +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:
Wez Furlong 2020-02-02 10:48:57 -08:00
parent 2ea2adf682
commit af084ee720

View File

@ -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