Skip to content

Commit

Permalink
CI: Add cygwin build for frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
Biswa96 committed Nov 22, 2023
1 parent 210132a commit 48c216b
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ jobs:
name: wslbridge2-backend
path: wslbridge2-backend

frontend:
frontend-msys2:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
show-progress: false
- name: Update
- name: Install msys2
uses: msys2/setup-msys2@v2
with:
msystem: MSYS
Expand All @@ -44,5 +44,28 @@ jobs:
- name: Upload
uses: actions/upload-artifact@v3
with:
name: wslbridge2.exe
name: wslbridge2-msys2
path: bin/wslbridge2.exe

frontend-cygwin:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
show-progress: false
- name: Install cygwin
uses: cygwin/cygwin-install-action@master
with:
platform: x86_64
packages: gcc-g++ make
- name: Build
shell: C:\cygwin\bin\bash.exe --noprofile --norc -eo pipefail '{0}'
run: |
make RELEASE=1
- name: Upload
uses: actions/upload-artifact@v3
with:
name: wslbridge2-cygwin
path: bin/wslbridge2.exe

0 comments on commit 48c216b

Please sign in to comment.