fork/oculante

git clone https://git.julia.blue/fork/oculante

Johann WoelperMerge pull request #464 from woelper/improve_checks6b4d770

0.9.2
1.1 KiB45 linesraw
1on:
2  push:
3    branches: [ "master" ]
4  pull_request:
5    # The branches below must be a subset of the branches above
6    branches: [ "master" ]
7
8name: Check Ubuntu
9jobs:
10  check:
11    strategy:
12      matrix:
13        os: [ubuntu-latest]
14        # os: [ubuntu-latest, ubuntu-20.04]
15    runs-on: ${{ matrix.os }}
16    steps:
17      - uses: actions/checkout@v2
18      - uses: ilammy/setup-nasm@v1
19      - uses: Swatinem/rust-cache@v2
20
21        
22      - name: Patch azure linux deps
23        run: sudo apt update
24
25      - name: Install linux deps
26        run: sudo apt-get install libxcb-shape0-dev libxcb-xfixes0-dev libgtk-3-dev libasound2-dev
27
28      - name: Update Rust
29        run: rustup update
30
31      - name: build heif
32        run: ./build_deps_linux.sh
33
34      - name: install heif
35        run: cd libheif/build && sudo make install
36
37      # - name: cargo build 
38      #   run: cargo build
39
40      - name: cargo check without default features
41        run: cargo check --no-default-features --features notan/glsl-to-spirv
42
43      - name: cargo check with heif
44        run: PKG_CONFIG_PATH=libheif/build cargo check --features heif --features notan/glsl-to-spirv
45