From 261d93a23059e3940e7c77e1774b4dee71260ca1 Mon Sep 17 00:00:00 2001 From: manga_osyo Date: Mon, 19 Aug 2019 21:50:57 +0900 Subject: [PATCH 1/2] Add GitHub Actions in Windows and MacOS. --- .github/workflows/macos.yml | 22 ++++++++++++++++++++++ .github/workflows/windows.yml | 29 +++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 .github/workflows/macos.yml create mode 100644 .github/workflows/windows.yml diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml new file mode 100644 index 0000000000..ff6829f0de --- /dev/null +++ b/.github/workflows/macos.yml @@ -0,0 +1,22 @@ +name: macos + +on: + push: + branches: + - master + pull_request: + branches: + - '*' + +jobs: + build: + runs-on: macos-latest + steps: + - uses: actions/checkout@master + - name: Install dependencies + run: | + gem install bundler --no-document + bundle install + - name: Run test + run: | + rake ci-test diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml new file mode 100644 index 0000000000..a78474a923 --- /dev/null +++ b/.github/workflows/windows.yml @@ -0,0 +1,29 @@ +name: windows + +on: + push: + branches: + - master + pull_request: + branches: + - '*' + +jobs: + build: + runs-on: windows-latest + strategy: + matrix: + ruby: [ '2.6.x', '2.5.x', '2.4.x' ] + steps: + - uses: actions/checkout@master + - name: Set up Ruby + uses: actions/setup-ruby@v1 + with: + version: ${{ matrix.ruby }} + - name: Install dependencies + run: | + gem install bundler --no-document + bundle install + - name: Run test + run: | + rake ci-test From 830a64d10f0a04198c187dd728dcc5b21801e447 Mon Sep 17 00:00:00 2001 From: manga_osyo Date: Mon, 19 Aug 2019 21:54:22 +0900 Subject: [PATCH 2/2] Remove support by 2.4.x. --- .github/workflows/windows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index a78474a923..e4e184ca4a 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -13,7 +13,7 @@ jobs: runs-on: windows-latest strategy: matrix: - ruby: [ '2.6.x', '2.5.x', '2.4.x' ] + ruby: [ '2.6.x', '2.5.x' ] steps: - uses: actions/checkout@master - name: Set up Ruby