diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c4e5dc1..34b10aa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,6 +4,7 @@ on: push: branches: - '*' + - '!ci-test' pull_request: branches: - master diff --git a/.github/workflows/vrt.yml b/.github/workflows/vrt.yml index babf31b..c79668a 100644 --- a/.github/workflows/vrt.yml +++ b/.github/workflows/vrt.yml @@ -10,18 +10,37 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - # https://github.com/lusingander/ttyd#install-on-linux - - name: Install ttyd + # - 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 - git clone https://github.com/lusingander/ttyd.git - cd ttyd && mkdir build && cd build + - name: Checkout forked ttyd + uses: actions/checkout@v4 + with: + repository: lusingander/ttyd + ref: main + - name: Install forked ttyd + working-directory: ./ttyd + run: | + mkdir build && cd build cmake .. make && sudo make install - - name: Install vhs - run: | - go install github.com/lusingander/vhs@latest + - name: Checkout forked vhs + uses: actions/checkout@v4 + with: + repository: lusingander/vhs + ref: main + - name: Install forked vhs + working-directory: ./vhs + run: go install ./... - name: Check version run: | ttyd --version