From 47b3454d632d3301759bd5476a950a3963b70bf8 Mon Sep 17 00:00:00 2001 From: MSP-Greg Date: Tue, 11 Feb 2020 21:53:39 -0600 Subject: Update Actions 1. Remove rvm where possible, add ruby-head, misc 2. Add mingw & mswin Windows testing --- .github/workflows/macos.yml | 20 +++++++++++++------- .github/workflows/ubuntu.yml | 27 +++++++++++++-------------- .github/workflows/windows.yml | 34 ++++++++++++++++++---------------- 3 files changed, 44 insertions(+), 37 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 7d20478..336b691 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -5,11 +5,17 @@ on: [push, pull_request] jobs: build: runs-on: macos-latest + strategy: + fail-fast: false + matrix: + ruby: [ 2.7, 2.6, 2.5, 2.4 ] steps: - - uses: actions/checkout@master - - name: Install dependencies - run: | - gem install bundler --no-document - bundle install - - name: Run test - run: rake + - uses: actions/checkout@v2 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + - name: Install dependencies + run: bundle install + - name: Run test + run: rake diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index aae178f..efd01ea 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -6,19 +6,18 @@ jobs: build: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: - ruby: [ '2.6', '2.5', '2.4', 'ruby-head'] + ruby: [ ruby-head, 2.7, 2.6, 2.5, 2.4 ] steps: - - name: Install libraries - run: sudo apt install haveged - - uses: actions/checkout@master - - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: ${{ matrix.ruby }} - - name: Install dependencies - run: | - gem install bundler --no-document - bundle install - - name: Run test - run: rake + - name: Install libraries + run: sudo apt install haveged + - uses: actions/checkout@v2 + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + - name: Install dependencies + run: bundle install + - name: Run test + run: rake diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 89b2443..1e11460 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -8,20 +8,22 @@ jobs: strategy: fail-fast: false matrix: - ruby: [ '2.6.x', '2.5.x', '2.4.x' ] + ruby: [ mingw, mswin, 2.7, 2.6, 2.5, 2.4 ] steps: - - uses: actions/checkout@master - - name: Set up Ruby - uses: actions/setup-ruby@v1 - with: - ruby-version: ${{ matrix.ruby }} - - name: Update MSYS2 - uses: MSP-Greg/msys2-action@master - with: - base: update - - name: Install dependencies - run: | - gem update --system --no-document --conservative - bundle install - - name: Run test - run: rake + - uses: actions/checkout@v2 + - name: Set up Ruby + uses: MSP-Greg/actions-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + base: update + - name: Install dependencies + run: bundle install + - name: Run test + if: matrix.ruby != 'mswin' + run: rake + - name: Run test + if: matrix.ruby == 'mswin' + shell: cmd + run: | + call "%VCVARS%" + rake -- cgit v1.2.3 From fcafe246f78b00d4ef17fc05225322bc619111c7 Mon Sep 17 00:00:00 2001 From: MSP-Greg Date: Sun, 16 Feb 2020 18:06:56 -0600 Subject: appveyor.yml - remove 64 bit Rubies, they are now tested in Actions --- appveyor.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 90ed36c..9679fe4 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -11,6 +11,4 @@ deploy: off environment: matrix: - ruby_version: "24" - - ruby_version: "24-x64" - ruby_version: "25" - - ruby_version: "25-x64" -- cgit v1.2.3