Merge pull request #321 from B-LechCode/big_images #128
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# THIS IS DISABLED ON GH | |
on: [push] | |
name: Cross-platform check | |
jobs: | |
check: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest, windows-2019, ubuntu-20.04, ubuntu-18.04] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ilammy/setup-nasm@v1 | |
- name: Configure pagefile | |
uses: al-cheb/configure-pagefile-action@v1.2 | |
if: matrix.os == 'windows-latest' || matrix.os == 'windows-2019' | |
- name: Install cargo cross | |
run: cargo install cross | |
if: matrix.os == 'ubuntu-18.04' | |
- name: Cross-compile arm | |
run: cross build --target armv7-unknown-linux-musleabihf --no-default-features | |
if: matrix.os == 'ubuntu-18.04' | |
# - name: Set up pagefile | |
# run: | | |
# (Get-CimInstance Win32_PageFileUsage).AllocatedBaseSize | |
# if: matrix.os == 'windows-latest' || matrix.os == 'windows-2019' | |
- name: Patch azure linux deps | |
run: sudo apt update | |
if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-20.04' | |
- name: Install linux deps | |
run: sudo apt-get install libxcb-shape0-dev libxcb-xfixes0-dev libgtk-3-dev libasound2-dev libheif-dev | |
if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-20.04' | |
- name: Update Rust | |
run: rustup update | |
if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-20.04' | |
# - name: Install osx deps | |
# run: brew install nasm | |
# if: matrix.os == 'macos-latest' | |
- name: cargo build | |
run: cargo build | |
- name: cargo check without default features | |
run: cargo check --no-default-features | |