mirror of
https://github.com/tsl0922/ttyd.git
synced 2026-01-02 17:04:24 +01:00
Dockerfile: use bash
This commit is contained in:
8
.github/workflows/backend.yml
vendored
8
.github/workflows/backend.yml
vendored
@@ -17,11 +17,11 @@ jobs:
|
||||
matrix:
|
||||
lws-version: [3.2.0, 3.1.0, 2.4.2]
|
||||
steps:
|
||||
- name: install apt packages
|
||||
- name: Install packages
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install build-essential cmake libjson-c-dev libssl-dev libuv1-dev
|
||||
- name: compile libwebsockets-${{ matrix.lws-version }} from source
|
||||
- name: Install libwebsockets-${{ matrix.lws-version }}
|
||||
env:
|
||||
LWS_VERSION: ${{ matrix.lws-version }}
|
||||
run: |
|
||||
@@ -31,7 +31,7 @@ jobs:
|
||||
cmake -DLWS_WITH_LIBUV=ON -DLWS_UNIX_SOCK=ON -DLWS_IPV6=ON -DLWS_WITHOUT_TESTAPPS=ON -DCMAKE_BUILD_TYPE=RELEASE .
|
||||
make && sudo make install && sudo ldconfig
|
||||
- uses: actions/checkout@v1
|
||||
- name: build ttyd
|
||||
- name: Build ttyd
|
||||
run: |
|
||||
cmake -DCMAKE_BUILD_TYPE=RELEASE .
|
||||
make && sudo make install
|
||||
@@ -43,7 +43,7 @@ jobs:
|
||||
arch: [i386, x86_64, arm, armhf, mips, mipsel]
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: cross build (${{ matrix.arch }})
|
||||
- name: Cross build (${{ matrix.arch }})
|
||||
env:
|
||||
ARCH: ${{ matrix.arch }}
|
||||
run: docker run --rm -v $(pwd):/ttyd -w /ttyd tsl0922/musl-cross ./scripts/cross-build.sh $ARCH
|
||||
|
||||
2
.github/workflows/frontend.yml
vendored
2
.github/workflows/frontend.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '12.x'
|
||||
- name: yarn install, check and build
|
||||
- name: Run yarn install, check and build
|
||||
run: |
|
||||
cd html
|
||||
yarn install
|
||||
|
||||
Reference in New Issue
Block a user