-
Notifications
You must be signed in to change notification settings - Fork 46
45 lines (34 loc) · 1.13 KB
/
check_ubuntu_no_default_features.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
39
40
41
42
43
44
on:
push:
branches: [ "master" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "master" ]
name: Check Ubuntu
jobs:
check:
strategy:
matrix:
os: [ubuntu-latest]
# os: [ubuntu-latest, ubuntu-20.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: ilammy/setup-nasm@v1
- uses: Swatinem/rust-cache@v2
- name: Patch azure linux deps
run: sudo apt update
- name: Install linux deps
run: sudo apt-get install libxcb-shape0-dev libxcb-xfixes0-dev libgtk-3-dev libasound2-dev
- name: Update Rust
run: rustup update
- name: build heif
run: ./build_deps_linux.sh
- name: install heif
run: cd libheif/build && sudo make install
# - name: cargo build
# run: cargo build
- name: cargo check without default features
run: cargo check --no-default-features --features notan/glsl-to-spirv
- name: cargo check with heif
run: PKG_CONFIG_PATH=libheif/build cargo check --features heif --features notan/glsl-to-spirv