mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
ci: Add Windows/cygwin config
Signed-off-by: Alexander Amelkin <alexander@amelkin.msk.ru>
This commit is contained in:
parent
01b53a013b
commit
38b120eb5a
40
.github/workflows/ci.yml
vendored
40
.github/workflows/ci.yml
vendored
@ -80,3 +80,43 @@ jobs:
|
|||||||
run: make check
|
run: make check
|
||||||
- name: make distcheck
|
- name: make distcheck
|
||||||
run: make distcheck
|
run: make distcheck
|
||||||
|
|
||||||
|
win-srv-2019:
|
||||||
|
|
||||||
|
runs-on: windows-2019
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: install dependencies
|
||||||
|
run: |-
|
||||||
|
choco install cygwin -y
|
||||||
|
choco install cyg-get -y
|
||||||
|
# Line continuation in PowerShell is backtick. Weird as Windows.
|
||||||
|
cyg-get gcc-g++ `
|
||||||
|
make `
|
||||||
|
automake `
|
||||||
|
autoconf `
|
||||||
|
m4 `
|
||||||
|
libtool `
|
||||||
|
libncurses-devel `
|
||||||
|
libreadline-devel `
|
||||||
|
libssl-devel `
|
||||||
|
unix2dos `
|
||||||
|
wget
|
||||||
|
echo "::add-path::C:/tools/cygwin/bin"
|
||||||
|
echo "::add-path::C:/tools/cygwin/usr/bin"
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: convert line ends
|
||||||
|
# checkout action on Windows apparently converts line ends
|
||||||
|
# so we have to convert them back because cygwin bash can't
|
||||||
|
# can't handle Windows line ends
|
||||||
|
run: dos2unix bootstrap configure.ac csv-revision
|
||||||
|
- name: bootstrap
|
||||||
|
run: bash -c "./bootstrap"
|
||||||
|
- name: configure
|
||||||
|
run: bash -c "./configure"
|
||||||
|
- name: make
|
||||||
|
run: make
|
||||||
|
- name: make check
|
||||||
|
run: make check
|
||||||
|
- name: make distcheck
|
||||||
|
run: make distcheck
|
||||||
|
Loading…
x
Reference in New Issue
Block a user