Stopped displaying usage when error. #65
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
# .github/workflows/build-windows.yml | |
# Last modified: 03-Feb-2024 (kobayasy) | |
name: Windows | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Build | |
runs-on: windows-latest | |
defaults: | |
run: | |
shell: msys2 {0} | |
steps: | |
- name: Setup MSYS2 | |
uses: msys2/setup-msys2@v2 | |
with: | |
install: make gcc ncurses-devel | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build and install | |
run: | | |
mkdir build | |
cd build | |
../src/configure --prefix=$HOME --enable-warnall | |
make install distclean | |
cd .. | |
rmdir build | |
- name: Run | |
run: | | |
mkdir ~/pSync | |
echo 'psync pSync' > ~/.psync.conf | |
~/bin/psync --help |