Update LINUX_CI_OS_VERSION and related constants
- Change `LINUX_CI_OS_VERSION` from `Ubuntu 16.04` to `Ubuntu 22.04` - Change `LINUX_GLIBC_CI_VERSION` from `2.23` to `2.35` - Change `LINUX_GCC_CI_VERSION` from `5.0` to `11.0` - Change `LINUX_PREFERRED_GCC_FORMULA` from `gcc@5` to `gcc@11` - Build the Docker image `ghcr.io/homebrew/ubuntu22.04:master`
This commit is contained in:
parent
db921d88d9
commit
b01e0abcf8
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
@ -174,19 +174,19 @@ jobs:
|
||||
uses: Homebrew/actions/setup-homebrew@master
|
||||
|
||||
- name: Build Docker image
|
||||
run: docker build -t brew --build-arg=version=16.04 .
|
||||
run: docker build -t brew --build-arg=version=22.04 .
|
||||
|
||||
- name: Deploy the Docker image to GitHub Packages and Docker Hub
|
||||
if: github.ref == 'refs/heads/master'
|
||||
run: |
|
||||
echo ${{secrets.HOMEBREW_BREW_GITHUB_PACKAGES_TOKEN}} |
|
||||
docker login ghcr.io -u BrewTestBot --password-stdin
|
||||
docker tag brew "ghcr.io/homebrew/ubuntu16.04:master"
|
||||
docker push "ghcr.io/homebrew/ubuntu16.04:master"
|
||||
docker tag brew "ghcr.io/homebrew/ubuntu22.04:master"
|
||||
docker push "ghcr.io/homebrew/ubuntu22.04:master"
|
||||
echo ${{secrets.HOMEBREW_BREW_DOCKER_TOKEN}} |
|
||||
docker login -u brewtestbot --password-stdin
|
||||
docker tag brew "homebrew/ubuntu16.04:master"
|
||||
docker push "homebrew/ubuntu16.04:master"
|
||||
docker tag brew "homebrew/ubuntu22.04:master"
|
||||
docker push "homebrew/ubuntu22.04:master"
|
||||
|
||||
tests:
|
||||
name: ${{ matrix.name }}
|
||||
|
@ -45,15 +45,12 @@ module OS
|
||||
|
||||
::OS_VERSION = ENV.fetch("HOMEBREW_OS_VERSION").freeze
|
||||
|
||||
LINUX_CI_OS_VERSION = "Ubuntu 16.04"
|
||||
LINUX_GLIBC_CI_VERSION = "2.23"
|
||||
LINUX_GCC_CI_VERSION = "5.0"
|
||||
LINUX_PREFERRED_GCC_FORMULA = "gcc@5"
|
||||
|
||||
# Ubuntu 22.04 (see Linux-CI.md)
|
||||
# See Linux-CI.md
|
||||
LINUX_CI_OS_VERSION = "Ubuntu 22.04"
|
||||
LINUX_GLIBC_CI_VERSION = "2.35"
|
||||
LINUX_GLIBC_NEXT_CI_VERSION = "2.35"
|
||||
# LINUX_GCC_CI_VERSION = "11.0"
|
||||
# LINUX_PREFERRED_GCC_FORMULA = "gcc@11"
|
||||
LINUX_GCC_CI_VERSION = "11.0"
|
||||
LINUX_PREFERRED_GCC_FORMULA = "gcc@11"
|
||||
|
||||
if OS.mac?
|
||||
require "os/mac"
|
||||
|
Loading…
x
Reference in New Issue
Block a user