1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-01-31 12:42:09 +01:00

Merge pull request #141 from actix/fix-ci

Only check compilation on mingw CI
This commit is contained in:
Yuki Okushi 2020-05-19 09:39:03 +09:00 committed by GitHub
commit 140a6c76e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,9 +2,6 @@ name: CI (Windows-mingw)
on: [push, pull_request] on: [push, pull_request]
env:
OPENSSL_DIR: d:\a\_temp\msys\msys64\usr
jobs: jobs:
build_and_test: build_and_test:
strategy: strategy:
@ -30,25 +27,13 @@ jobs:
- name: Install MSYS2 - name: Install MSYS2
uses: numworks/setup-msys2@v1 uses: numworks/setup-msys2@v1
- name: Install OpenSSL - name: Install packages
run: | run: |
msys2do pacman --noconfirm -S openssl-devel pkg-config msys2do pacman -Sy --noconfirm pacman
msys2do pacman --noconfirm -S base-devel pkg-config
- name: Copy and check libs
run: |
Copy-Item d:\a\_temp\msys\msys64\usr\lib\libssl.dll.a d:\a\_temp\msys\msys64\usr\lib\libssl.dll
Copy-Item d:\a\_temp\msys\msys64\usr\lib\libcrypto.dll.a d:\a\_temp\msys\msys64\usr\lib\libcrypto.dll
Get-ChildItem d:\a\_temp\msys\msys64\usr\lib
Get-ChildItem d:\a\_temp\msys\msys64\usr
- name: check build - name: check build
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
command: check command: check
args: --all --bins --examples --tests args: --all --bins --examples --tests
- name: tests
uses: actions-rs/cargo@v1
with:
command: test
args: --all --all-features --no-fail-fast -- --nocapture