summaryrefslogtreecommitdiffstats
path: root/.github/workflows/backend.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/backend.yml')
-rw-r--r--.github/workflows/backend.yml33
1 files changed, 28 insertions, 5 deletions
diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml
index a5b8af2..7d917ac 100644
--- a/.github/workflows/backend.yml
+++ b/.github/workflows/backend.yml
@@ -16,10 +16,10 @@ on:
jobs:
build:
- runs-on: ubuntu-18.04
+ runs-on: ubuntu-20.04
strategy:
matrix:
- lws-version: [4.1.6, 3.2.3, 2.4.2]
+ lws-version: [4.2.1, 3.2.3]
steps:
- name: Install packages
run: |
@@ -41,10 +41,10 @@ jobs:
make && sudo make install
ttyd -v
cross:
- runs-on: ubuntu-18.04
+ runs-on: ubuntu-20.04
strategy:
matrix:
- target: [i686, x86_64, arm, armhf, aarch64, mips, mipsel, mips64, mips64el]
+ target: [i686, x86_64, arm, armhf, aarch64, mips, mipsel, mips64, mips64el, s390x]
steps:
- uses: actions/checkout@v2
- name: Install packages
@@ -55,7 +55,30 @@ jobs:
env:
BUILD_TARGET: ${{ matrix.target }}
run: ./scripts/cross-build.sh
- - uses: actions/upload-artifact@v1
+ - uses: actions/upload-artifact@v2
with:
name: ttyd.${{ matrix.target }}
path: build/ttyd
+ win10:
+ runs-on: windows-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: msys2/setup-msys2@v2
+ with:
+ msystem: MINGW64
+ install: >-
+ make
+ mingw64/mingw-w64-x86_64-gcc
+ mingw64/mingw-w64-x86_64-cmake
+ mingw64/mingw-w64-x86_64-zlib
+ mingw64/mingw-w64-x86_64-libuv
+ mingw64/mingw-w64-x86_64-mbedtls
+ mingw64/mingw-w64-x86_64-json-c
+ update: true
+ - name: Build ttyd
+ shell: msys2 {0}
+ run: ./scripts/mingw-build.sh
+ - uses: actions/upload-artifact@v2
+ with:
+ name: ttyd.win10
+ path: build/ttyd.exe