fork/oculante

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

Johann WoelperMerge pull request #246 from woelper/feature/heifb2a4189

0.8.21
1.7 KiB53 linesraw
1# THIS IS DISABLED ON GH
2on: [push]
3
4name: Cross-platform check
5jobs:
6  check:
7    strategy:
8      matrix:
9        os: [ubuntu-latest, windows-latest, macos-latest, windows-2019, ubuntu-20.04, ubuntu-18.04]
10    runs-on: ${{ matrix.os }}
11    steps:
12      - uses: actions/checkout@v2
13      - uses: ilammy/setup-nasm@v1
14        
15      - name: Configure pagefile
16        uses: al-cheb/configure-pagefile-action@v1.2
17        if: matrix.os == 'windows-latest' || matrix.os == 'windows-2019'
18        
19      - name: Install cargo cross
20        run: cargo install cross
21        if: matrix.os == 'ubuntu-18.04'
22
23      - name: Cross-compile arm
24        run: cross build --target armv7-unknown-linux-musleabihf --no-default-features
25        if: matrix.os == 'ubuntu-18.04'
26
27      # - name: Set up pagefile
28      #   run: |
29      #     (Get-CimInstance Win32_PageFileUsage).AllocatedBaseSize
30      #   if: matrix.os == 'windows-latest' || matrix.os == 'windows-2019'
31        
32      - name: Patch azure linux deps
33        run: sudo apt update
34        if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-20.04'
35
36      - name: Install linux deps
37        run: sudo apt-get install libxcb-shape0-dev libxcb-xfixes0-dev libgtk-3-dev libasound2-dev libheif-dev
38        if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-20.04'
39
40      - name: Update Rust
41        run: rustup update
42        if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-20.04'
43        
44      # - name: Install osx deps
45      #   run: brew install nasm
46      #   if: matrix.os == 'macos-latest'
47
48      - name: cargo build 
49        run: cargo build
50
51      - name: cargo check without default features
52        run: cargo check --no-default-features
53