summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-09-02 08:36:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-09-02 08:36:00 +0000
commit01b623a2f80953e6156ede3f0f082ebb4a5cf0c8 (patch)
tree77c2df3aa8e4730cd15d083e1217d08a12f3179b /.github
parentAdding upstream version 1.7.0. (diff)
downloadttyd-01b623a2f80953e6156ede3f0f082ebb4a5cf0c8.tar.xz
ttyd-01b623a2f80953e6156ede3f0f082ebb4a5cf0c8.zip
Adding upstream version 1.7.1.upstream/1.7.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yml32
1 files changed, 31 insertions, 1 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 09ced6d..fa028aa 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -47,4 +47,34 @@ jobs:
upload_url: ${{ needs.release.outputs.upload_url }}
asset_path: build/ttyd
asset_name: ttyd.${{ matrix.target }}
- asset_content_type: application/octet-stream \ No newline at end of file
+ asset_content_type: application/octet-stream
+ win10:
+ runs-on: windows-latest
+ needs: release
+ 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
+ - name: Upload assets
+ id: upload-release-asset
+ uses: actions/upload-release-asset@v1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ upload_url: ${{ needs.release.outputs.upload_url }}
+ asset_path: build/ttyd.exe
+ asset_name: ttyd.win10.exe
+ asset_content_type: application/octet-stream