From adb50df71a4e5c45cdf9c626fb90f95ef2d10b13 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Fri, 12 Feb 2021 21:14:06 +0900 Subject: [PATCH] Update GitHub Actions. - Remove Ubuntu-16.04 - Add Ubuntu-20.04 {gcc,clang} --- .github/workflows/build.yml | 42 ++++++++++++++++++++++++------------- 1 file changed, 28 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ad5a66ebe..57c9c05be 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,20 +3,6 @@ name: Build & Test on: [push, pull_request] jobs: - Ubuntu-1604: - runs-on: ubuntu-16.04 - env: - MRUBY_CONFIG: ci/gcc-clang - CC: gcc - steps: - - uses: actions/checkout@v2 - - name: Ruby version - run: ruby -v - - name: Compiler version - run: ${{ env.CC }} --version - - name: Build and test - run: rake -m test:build && rake test:run - Ubuntu-1804-gcc: runs-on: ubuntu-18.04 env: @@ -45,6 +31,34 @@ jobs: - name: Build and test run: rake -m test:build && rake test:run + Ubuntu-2004-gcc: + runs-on: ubuntu-20.04 + env: + MRUBY_CONFIG: ci/gcc-clang + CC: gcc + steps: + - uses: actions/checkout@v2 + - name: Ruby version + run: ruby -v + - name: Compiler version + run: ${{ env.CC }} --version + - name: Build and test + run: rake -m test:build && rake test:run + + Ubuntu-2004-clang: + runs-on: ubuntu-20.04 + env: + MRUBY_CONFIG: ci/gcc-clang + CC: clang + steps: + - uses: actions/checkout@v2 + - name: Ruby version + run: ruby -v + - name: Compiler version + run: ${{ env.CC }} --version + - name: Build and test + run: rake -m test:build && rake test:run + macOS: runs-on: macos-latest env: