fork/oculante

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

Johann WoelperMerge pull request #637 from woelper/update_toml_cleanupe362346

master
1.1 KiB44 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@v4
18      - uses: ilammy/setup-nasm@v1
19      - uses: Swatinem/rust-cache@v2
20
21      - name: Patch azure linux deps
22        run: sudo apt update
23
24      - name: Install linux deps
25        run: sudo apt-get install libxcb-shape0-dev libxcb-xfixes0-dev libgtk-3-dev libasound2-dev
26
27      - name: Update Rust
28        run: rustup update
29
30      - name: build heif
31        run: ./build_deps_linux.sh
32
33      - name: install heif
34        run: cd libheif/build && sudo make install
35
36      # - name: cargo build
37      #   run: cargo build
38
39      - name: cargo check without default features
40        run: cargo check --no-default-features --features notan/glsl-to-spirv
41
42      # - name: cargo check with heif
43        # run: PKG_CONFIG_PATH=libheif/build cargo check --features heif --features notan/glsl-to-spirv
44