add individual quilt tile view #161
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
name: Build | |
on: | |
pull_request: | |
push: | |
env: | |
CMAKE_BUILD_TYPE: Release | |
jobs: | |
build: | |
name: Build | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-latest | |
build_command: | | |
mkdir build | |
cd build | |
cmake .. | |
cmake --build . | |
ls -l | |
- os: windows-latest | |
build_command: | | |
mkdir build | |
cd build | |
cmake -G "NMake Makefiles" .. | |
cmake --build . | |
dir | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Install dependencies (Ubuntu) | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y \ | |
cmake xorg-dev libglu1-mesa-dev libavcodec-dev libavfilter-dev \ | |
libavdevice-dev libavformat-dev libavutil-dev libswscale-dev \ | |
libv4l-dev libjpeg-dev libpng-dev libtiff-dev | |
- name: Set up MSVC environment (Windows) | |
if: matrix.os == 'windows-latest' | |
uses: ilammy/msvc-dev-cmd@v1 | |
# - name: Install dependencies (Windows) | |
# if: matrix.os == 'windows-latest' | |
# run: | | |
# $FfmpegUri = 'https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-n4.4-latest-win64-lgpl-shared-4.4.zip' | |
# $FfmpegZipPath = "$Env:GITHUB_WORKSPACE\ffmpeg.zip" | |
# $ZlibUri = 'https://sourceforge.net/projects/gnuwin32/files/zlib/1.2.3/zlib-1.2.3-lib.zip/download' | |
# $ZlibZipPath = "$Env:GITHUB_WORKSPACE\zlib.zip" | |
# $FfmpegPath = "$Env:GITHUB_WORKSPACE\ffmpeg" | |
# Start-BitsTransfer -Source "$FfmpegUri","$ZlibUri" -Destination "$FfmpegZipPath","$ZlibZipPath" | |
# Expand-Archive -Path "$FfmpegZipPath" -DestinationPath "$FfmpegPath" | |
# Move-Item -Path "$FfmpegPath\ffmpeg-*\*" -Destination "$FfmpegPath" | |
# Expand-Archive -Path "$ZlibZipPath" -DestinationPath "$FfmpegPath" | |
# echo "CMAKE_PREFIX_PATH=$FfmpegPath" >>$Env:GITHUB_ENV | |
- name: Build | |
run: ${{ matrix.build_command }} |