diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2021-08-08 16:59:07 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2021-08-10 09:24:48 +0900 |
commit | 510c3655c9789f93e799499cd7923461e2743ec0 (patch) | |
tree | 1a351dc0fa5919d6a54f407aa23bca17180e633f /.github/workflows | |
parent | 6771316d51beaeecff54fdfb71e3275079346c0a (diff) |
.github/workflows/compilers.yml: clang-14
It seems LLVM-14 begun.
See also
https://github.com/llvm/llvm-project/commit/08c766a7318ab37bf1d77e0c683cd3b00e700877
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4718
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/compilers.yml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/compilers.yml b/.github/workflows/compilers.yml index f267ee26ae..af0be21272 100644 --- a/.github/workflows/compilers.yml +++ b/.github/workflows/compilers.yml @@ -3,15 +3,15 @@ name: Compilations on: [push, pull_request] # Github actions does not support YAML anchors. This creative use of -# environment variables (plus the "echo ::set-env" hack) is to reroute that +# environment variables (plus the "echo $GITHUB_ENV" hack) is to reroute that # restriction. env: - default_cc: clang-13 + default_cc: clang-14 append_cc: '' crosshost: '' # -O1 is faster than -O3 in our tests... Majority of time are consumed trying - # to optimize binaries. Also Github Actions runs on a relatively modern CPU + # to optimize binaries. Also Github Actions run on relatively modern CPUs # compared to, say, GCC 4 or Clang 3. We don't specify `-march=native` # because compilers tend not understand what the CPU is. optflags: '-O1' @@ -55,6 +55,7 @@ jobs: - { key: default_cc, name: gcc-6, value: gcc-6, container: gcc-6 } - { key: default_cc, name: gcc-5, value: gcc-5, container: gcc-5 } - { key: default_cc, name: gcc-4.8, value: gcc-4.8, container: gcc-4.8 } + - { key: default_cc, name: clang-14, value: clang-14, container: clang-14 } - { key: default_cc, name: clang-13, value: clang-13, container: clang-13 } - { key: default_cc, name: clang-12, value: clang-12, container: clang-12 } - { key: default_cc, name: clang-11, value: clang-11, container: clang-11 } @@ -157,7 +158,7 @@ jobs: name: ${{ matrix.entry.name }} runs-on: ubuntu-latest - container: ghcr.io/ruby/ruby-ci-image:${{ matrix.entry.container || 'clang-13' }} + container: ghcr.io/ruby/ruby-ci-image:${{ matrix.entry.container || 'clang-14' }} steps: - run: mkdir build working-directory: |