ruby-changes:67106
From: =E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3 <ko1@a...>
Date: Tue, 10 Aug 2021 09:25:07 +0900 (JST)
Subject: [ruby-changes:67106] 510c3655c9 (master): .github/workflows/compilers.yml: clang-14
https://git.ruby-lang.org/ruby.git/commit/?id=510c3655c9 From 510c3655c9789f93e799499cd7923461e2743ec0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= <shyouhei@r...> Date: Sun, 8 Aug 2021 16:59:07 +0900 Subject: .github/workflows/compilers.yml: clang-14 It seems LLVM-14 begun. See also https://github.com/llvm/llvm-project/commit/08c766a7318ab37bf1d77e0c683cd3b00e700877 --- .github/workflows/compilers.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/compilers.yml b/.github/workflows/compilers.yml index f267ee2..af0be21 100644 --- a/.github/workflows/compilers.yml +++ b/.github/workflows/compilers.yml @@ -3,15 +3,15 @@ name: Compilations https://github.com/ruby/ruby/blob/trunk/.github/workflows/compilers.yml#L3 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: https://github.com/ruby/ruby/blob/trunk/.github/workflows/compilers.yml#L55 - { 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: https://github.com/ruby/ruby/blob/trunk/.github/workflows/compilers.yml#L158 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: -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/