Skip to content

test

test #6

Workflow file for this run

name: vrt
on:
push:
branches:
- 'ci-test'
jobs:
vrt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# - name: Install forked ttyd
# run: |
# sudo apt-get update
# sudo apt-get install -y build-essential cmake git libjson-c-dev libwebsockets-dev
# git clone https://github.com/lusingander/ttyd.git
# cd ttyd && mkdir build && cd build
# cmake ..
# make && sudo make install
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential cmake git libjson-c-dev libwebsockets-dev
- 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 ..
make && sudo make install
- 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