summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-02-12 21:14:06 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-02-12 21:14:06 +0900
commitadb50df71a4e5c45cdf9c626fb90f95ef2d10b13 (patch)
tree76865733b167f0132d9ae431d38eed1294844109 /.github/workflows
parent5ba37db981763a7a7fce7364004a725538b44c0d (diff)
downloadmruby-adb50df71a4e5c45cdf9c626fb90f95ef2d10b13.tar.gz
mruby-adb50df71a4e5c45cdf9c626fb90f95ef2d10b13.zip
Update GitHub Actions.
- Remove Ubuntu-16.04 - Add Ubuntu-20.04 {gcc,clang}
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml24
1 files changed, 19 insertions, 5 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,8 +3,8 @@ name: Build & Test
on: [push, pull_request]
jobs:
- Ubuntu-1604:
- runs-on: ubuntu-16.04
+ Ubuntu-1804-gcc:
+ runs-on: ubuntu-18.04
env:
MRUBY_CONFIG: ci/gcc-clang
CC: gcc
@@ -17,10 +17,24 @@ jobs:
- name: Build and test
run: rake -m test:build && rake test:run
- Ubuntu-1804-gcc:
+ Ubuntu-1804-clang:
runs-on: ubuntu-18.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
+
+ Ubuntu-2004-gcc:
+ runs-on: ubuntu-20.04
+ env:
+ MRUBY_CONFIG: ci/gcc-clang
CC: gcc
steps:
- uses: actions/checkout@v2
@@ -31,8 +45,8 @@ jobs:
- name: Build and test
run: rake -m test:build && rake test:run
- Ubuntu-1804-clang:
- runs-on: ubuntu-18.04
+ Ubuntu-2004-clang:
+ runs-on: ubuntu-20.04
env:
MRUBY_CONFIG: ci/gcc-clang
CC: clang