test #14
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
name: vrt | |
on: | |
push: | |
branches: | |
- 'ci-test' | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
vrt: | |
# runs-on: ubuntu-latest | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: Swatinem/rust-cache@v2 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y build-essential cmake git libjson-c-dev libwebsockets-dev ffmpeg | |
# - name: Install dependencies | |
# run: brew install json-c libwebsockets ffmpeg | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.21' | |
# - name: Setup Docker | |
# uses: douglascamata/setup-docker-macos-action@v1-alpha | |
# https://github.com/lusingander/ttyd | |
- name: Checkout forked ttyd | |
uses: actions/checkout@v4 | |
with: | |
repository: lusingander/ttyd | |
path: ttyd | |
ref: main | |
- name: Install forked ttyd | |
working-directory: ttyd | |
run: | | |
mkdir build && cd build | |
cmake .. | |
VERBOSE=1 make && sudo make install | |
# - name: Install forked ttyd | |
# working-directory: ttyd | |
# run: | | |
# cmake -S . -B build -DOPENSSL_ROOT_DIR=$(brew --prefix openssl@3) -Dlibwebsockets_DIR=$(brew --prefix libwebsockets)/lib/cmake/libwebsockets | |
# cmake --build build | |
# echo "$(pwd)/build" >> $GITHUB_PATH | |
# https://github.com/lusingander/vhs | |
- name: Checkout forked vhs | |
uses: actions/checkout@v4 | |
with: | |
repository: lusingander/vhs | |
path: vhs | |
ref: main | |
- name: Install forked vhs | |
working-directory: vhs | |
run: | | |
go work use . | |
go install . | |
- name: Check version | |
run: | | |
ttyd --version | |
vhs --version | |
ffmpeg -version | |
- name: Run vrt | |
run: | | |
CI="" COLORTERM=truecolor make vrt |