-
Notifications
You must be signed in to change notification settings - Fork 43
39 lines (28 loc) · 966 Bytes
/
check_windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
on: [push]
name: Windows Check no default features
jobs:
check:
strategy:
matrix:
os: [windows-latest, windows-2019]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: ilammy/setup-nasm@v1
# - name: Configure pagefile
# uses: al-cheb/[email protected]
# if: matrix.os == 'windows-latest' || matrix.os == 'windows-2019'
# - name: Set up pagefile
# run: |
# (Get-CimInstance Win32_PageFileUsage).AllocatedBaseSize
# if: matrix.os == 'windows-latest' || matrix.os == 'windows-2019'
- name: Install vcpkg
run: vcpkg integrate install
- name: Install heif
run: cargo vcpkg -v build
- name: Update Rust
run: rustup update
- name: cargo build
run: cargo build
- name: cargo check without default features
run: cargo check --no-default-features