-
Notifications
You must be signed in to change notification settings - Fork 403
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cygwin github action + sysoptions workaround
- Loading branch information
1 parent
9925b00
commit 177bdd4
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Cygwin Build | ||
on: | ||
workflow_dispatch: | ||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
env: | ||
SHELLOPTS: igncr | ||
defaults: | ||
run: | ||
shell: C:/tools/cygwin/bin/bash.exe --login '{0}' | ||
steps: | ||
- uses: egor-tensin/setup-cygwin@v4 | ||
with: | ||
install-dir: C:/tools/cygwin | ||
packages: gcc-core gcc-g++ autoconf automake libtool pkg-config make zlib-devel libcrypt-devel libtommath-devel cygwin-devel | ||
- run: git config --global core.autocrlf false | ||
- run: git config --system core.eol lf | ||
- uses: actions/checkout@v2 | ||
- run: cd $GITHUB_WORKSPACE; autoreconf --verbose --force | ||
- run: cd $GITHUB_WORKSPACE; ./configure | ||
- run: cd $GITHUB_WORKSPACE; make PROGRAMS="dropbear dbclient dropbearkey dropbearconvert scp" | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: dropbear | ||
path: | | ||
${{ github.workspace }}/dropbear.exe | ||
${{ github.workspace }}/dbclient.exe | ||
${{ github.workspace }}/dropbearkey.exe | ||
${{ github.workspace }}/dropbearconvert.exe | ||
${{ github.workspace }}/scp.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters