diff --git a/.github/workflows/build.yml b/.github/workflows/build-linux.yml similarity index 74% rename from .github/workflows/build.yml rename to .github/workflows/build-linux.yml index 5d66e51..7b0d112 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build-linux.yml @@ -1,7 +1,7 @@ # .github/workflows/build.yml -# Last modified: 29-Jun-2021 (kobayasy) +# Last modified: 10-Jul-2021 (kobayasy) -name: Build +name: Linux on: push: @@ -9,13 +9,9 @@ on: - master jobs: - test: - strategy: - matrix: - os: - - ubuntu-latest - - macos-latest - runs-on: ${{ matrix.os }} + build: + name: Build + runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml new file mode 100644 index 0000000..21955b9 --- /dev/null +++ b/.github/workflows/build-macos.yml @@ -0,0 +1,31 @@ +# .github/workflows/build.yml +# Last modified: 10-Jul-2021 (kobayasy) + +name: macOS + +on: + push: + branches: + - master + +jobs: + build: + name: Build + runs-on: macos-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Build and install + run: | + mkdir build + cd build + ../src/configure --prefix=$HOME + make install distclean + cd .. + rmdir build + - name: Run + run: | + mkdir -m700 ~/pSync + echo 'psync pSync' > ~/.psync.conf + chmod 600 ~/.psync.conf + ~/bin/psync --help diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 6bb5e1e..8500b44 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -1,7 +1,7 @@ # .github/workflows/build-windows.yml -# Last modified: 04-Jul-2021 (kobayasy) +# Last modified: 10-Jul-2021 (kobayasy) -name: Build-windows +name: Windows on: push: @@ -9,12 +9,9 @@ on: - master jobs: - test: - strategy: - matrix: - os: - - windows-latest - runs-on: ${{ matrix.os }} + build: + name: Build + runs-on: windows-latest defaults: run: shell: msys2 {0} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4803520..07893cf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,5 @@ # .github/workflows/release.yml -# Last modified: 01-Jul-2021 (kobayasy) +# Last modified: 10-Jul-2021 (kobayasy) name: Release @@ -10,11 +10,8 @@ on: jobs: dist: - strategy: - matrix: - os: - - ubuntu-latest - runs-on: ${{ matrix.os }} + name: Dist + runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 diff --git a/README_en.md b/README_en.md index d243ac9..7b0edc1 100644 --- a/README_en.md +++ b/README_en.md @@ -1,7 +1,8 @@ [[Japanese/日本語](README_ja.md)] -[![Build](https://github.com/kobayasy/pSync/workflows/Build/badge.svg)](https://github.com/kobayasy/pSync/actions/workflows/build.yml) -[![CodeQL](https://github.com/kobayasy/pSync/workflows/CodeQL/badge.svg)](https://github.com/kobayasy/pSync/actions/workflows/codeql-analysis.yml) +[![Linux](https://github.com/kobayasy/pSync/workflows/Linux/badge.svg)](https://github.com/kobayasy/pSync/actions/workflows/build-linux.yml) +[![macOS](https://github.com/kobayasy/pSync/workflows/macOS/badge.svg)](https://github.com/kobayasy/pSync/actions/workflows/build-macos.yml) +[![Windows](https://github.com/kobayasy/pSync/workflows/Windows/badge.svg)](https://github.com/kobayasy/pSync/actions/workflows/build-windows.yml)
@@ -13,9 +14,9 @@ So for this to work, you must be able to login to the sync-host with [OpenSSH]. This work is required for each sync-host include local-host. 1. Do the following to build and install. ``` -curl -LOJs https://github.com/kobayasy/pSync/releases/download/2.8/psync-2.8.tar.gz -tar xzf psync-2.8.tar.gz -cd psync-2.8 +curl -LOJs https://github.com/kobayasy/pSync/releases/download/2.9/psync-2.9.tar.gz +tar xzf psync-2.9.tar.gz +cd psync-2.9 ./configure --prefix=$HOME make install ``` diff --git a/README_ja.md b/README_ja.md index 12d9512..80ed1df 100644 --- a/README_ja.md +++ b/README_ja.md @@ -1,7 +1,8 @@ [[英語/English](README_en.md)] [[使い方のヒント](NOTE_ja.md)] -[![Build](https://github.com/kobayasy/pSync/workflows/Build/badge.svg)](https://github.com/kobayasy/pSync/actions/workflows/build.yml) -[![CodeQL](https://github.com/kobayasy/pSync/workflows/CodeQL/badge.svg)](https://github.com/kobayasy/pSync/actions/workflows/codeql-analysis.yml) +[![Linux](https://github.com/kobayasy/pSync/workflows/Linux/badge.svg)](https://github.com/kobayasy/pSync/actions/workflows/build-linux.yml) +[![macOS](https://github.com/kobayasy/pSync/workflows/macOS/badge.svg)](https://github.com/kobayasy/pSync/actions/workflows/build-macos.yml) +[![Windows](https://github.com/kobayasy/pSync/workflows/Windows/badge.svg)](https://github.com/kobayasy/pSync/actions/workflows/build-windows.yml) @@ -13,9 +14,9 @@ ローカルホストを含めた全ての同期ホストに対してこの作業が必要です。 1. 以下の手順でビルドとインストールを行ないます。 ``` -curl -LOJs https://github.com/kobayasy/pSync/releases/download/2.8/psync-2.8.tar.gz -tar xzf psync-2.8.tar.gz -cd psync-2.8 +curl -LOJs https://github.com/kobayasy/pSync/releases/download/2.9/psync-2.9.tar.gz +tar xzf psync-2.9.tar.gz +cd psync-2.9 ./configure --prefix=$HOME make install ``` diff --git a/psync.png b/psync.png index 45d3b4b..4694e42 100644 Binary files a/psync.png and b/psync.png differ diff --git a/src/Makefile.in b/src/Makefile.in index 5e8bbc3..8926c52 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -1,5 +1,5 @@ # @configure_input@ -# Makefile.in - Last modified: 28-Jun-2021 (kobayasy) +# Makefile.in - Last modified: 10-Jul-2021 (kobayasy) # # Copyright (c) 2018-2021 by Yuichi Kobayashi