Update thiserror requirement from 1.0.33 to 2.0.3 #27
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 and Run | |
on: [push] | |
jobs: | |
windows-2019-vpx1_8_2: | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: download and extract libvpx | |
run: | | |
curl -sSfL -O https://github.com/ShiftMediaProject/libvpx/releases/download/v1.8.2/libvpx_v1.8.2_msvc16.zip | |
unzip libvpx_v1.8.2_msvc16.zip -d $HOME\unzipped | |
dir | |
dir $HOME\unzipped | |
dir $HOME\unzipped\lib\x64 | |
- name: Run test | |
run: | | |
cd record-screen | |
$Env:VPX_STATIC = "1" | |
$Env:VPX_VERSION = "1.8.2" | |
$Env:VPX_LIB_DIR = "$HOME\unzipped\lib\x64" | |
$Env:VPX_INCLUDE_DIR = "$HOME\unzipped\include" | |
cargo build | |
windows-2019-vpx1_9_0: | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: download and extract libvpx | |
run: | | |
curl -sSfL -O https://github.com/ShiftMediaProject/libvpx/releases/download/v1.9.0/libvpx_v1.9.0_msvc16.zip | |
unzip libvpx_v1.9.0_msvc16.zip -d $HOME\unzipped | |
dir | |
dir $HOME\unzipped | |
dir $HOME\unzipped\lib\x64 | |
- name: Run test | |
run: | | |
cd record-screen | |
$Env:VPX_STATIC = "1" | |
$Env:VPX_VERSION = "1.9.0" | |
$Env:VPX_LIB_DIR = "$HOME\unzipped\lib\x64" | |
$Env:VPX_INCLUDE_DIR = "$HOME\unzipped\include" | |
cargo build | |
windows-2019-vpx1_10_0: | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: download and extract libvpx | |
run: | | |
curl -sSfL -O https://github.com/ShiftMediaProject/libvpx/releases/download/v1.10.0/libvpx_v1.10.0_msvc16.zip | |
unzip libvpx_v1.10.0_msvc16.zip -d $HOME\unzipped | |
dir | |
dir $HOME\unzipped | |
dir $HOME\unzipped\lib\x64 | |
- name: Run test | |
run: | | |
cd record-screen | |
$Env:VPX_STATIC = "1" | |
$Env:VPX_VERSION = "1.10.0" | |
$Env:VPX_LIB_DIR = "$HOME\unzipped\lib\x64" | |
$Env:VPX_INCLUDE_DIR = "$HOME\unzipped\include" | |
cargo build | |
macos-10_15-vpx1_8_1: | |
runs-on: macos-10.15 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: download and extract libvpx | |
run: | | |
cd /tmp | |
curl --silent -O -L https://strawlab-cdn.com/assets/libvpx-1.8.1.sierra.bottle.tar.gz | |
sudo mkdir -p /opt | |
sudo tar xvzf /tmp/libvpx-1.8.1.sierra.bottle.tar.gz -C /opt | |
- name: install rustup | |
run: | | |
curl -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal | |
- name: Run test | |
run: | | |
cd record-screen | |
export VPX_STATIC=1 | |
export VPX_VERSION="1.8.1" | |
export VPX_LIB_DIR="/opt/libvpx/1.8.1/lib" | |
export VPX_INCLUDE_DIR="/opt/libvpx/1.8.1/include" | |
export PATH="$PATH:$HOME/.cargo/bin" | |
cargo build | |
ubuntu-20_04-vpx1_8: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: download and extract libvpx | |
run: | | |
sudo apt-get update -y | |
sudo apt-get install -y libvpx-dev libxcb-randr0-dev | |
- name: Run test | |
run: | | |
cd record-screen | |
cargo build | |
ubuntu-20_04-vpx1_8-generate: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v1 | |
- name: download and extract libvpx | |
run: | | |
sudo apt-get update -y | |
sudo apt-get install -y libvpx-dev libxcb-randr0-dev | |
- name: Run test | |
run: | | |
cd record-screen | |
cargo build --features env-libvpx-sys/generate |