Merge branch 'esnet:master' into master #45
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
name: Build with Cygwin | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- run: git config --global core.autocrlf input | |
- name: Install Cygwin Action | |
uses: cygwin/cygwin-install-action@v4 | |
with: | |
packages: make cmake gcc-core gcc-g++ binutils cygwin-devel w32api-headers w32api-runtime | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: configure | |
run: ./configure | |
shell: bash | |
- name: make | |
run: make | |
- name: make install | |
run: make install | |
- name: copy | |
run: copy C:/cygwin/bin/cygwin1.dll C:/cygwin/usr/local/bin/ | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: iperf3 | |
path: | | |
C:/cygwin/usr/local/bin/iperf3.exe | |
C:/cygwin/usr/local/bin/cygwin1.dll |