gcc 12?
This commit is contained in:
parent
fb7649f0d2
commit
641b400866
|
@ -8,26 +8,21 @@ jobs:
|
|||
check-and-test:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, arm-ubuntu-latest]
|
||||
os: [ubuntu-latest]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: setup ruby
|
||||
if: matrix.os == 'arm-ubuntu-latest'
|
||||
run: |
|
||||
apt update -y
|
||||
apt install gpgv2 ruby-full -y
|
||||
- name: install tools
|
||||
run: |
|
||||
apt update -y
|
||||
apt install -y build-essential procps curl file git
|
||||
apt install -y build-essential procps curl file git gcc-12
|
||||
- name: install homebrew
|
||||
run: |
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
- name: test tap
|
||||
run: |
|
||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||
brew install --debug gcc
|
||||
|
||||
brew tap gitea/gitea "$PWD"
|
||||
brew install gitea/gitea/tea
|
||||
tea --version
|
||||
|
|
|
@ -17,7 +17,7 @@ for bin in ${binaries};do
|
|||
latest=$(curl -sL -o /dev/null -w %{url_effective} "${git_url}/releases/latest")
|
||||
version="${latest##*/v}"
|
||||
|
||||
file_url="https://dl.gitea.io/${bin}/${version}"
|
||||
file_url="https://dl.gitea.com/${bin}/${version}"
|
||||
for os in ${supported_os}; do
|
||||
sha256_file="${bin}-${version}-${os}"
|
||||
if [ "$os" != "linux-386" -a "$os" != "linux-arm64" ]; then
|
||||
|
|
|
@ -15,7 +15,7 @@ class Changelog < Formula
|
|||
end
|
||||
|
||||
@@filename = "changelog-#{version}-#{os}-#{arch}"
|
||||
@@url = "https://dl.gitea.io/changelog-tool/#{version}/#{@@filename}"
|
||||
@@url = "https://dl.gitea.com/changelog-tool/#{version}/#{@@filename}"
|
||||
@@using = :nounzip
|
||||
|
||||
if os == "darwin-10.12" || arch == "amd64"
|
||||
|
|
|
@ -15,7 +15,7 @@ class GiteaHead < Formula
|
|||
end
|
||||
|
||||
@@filename = "gitea-#{version}-#{os}-#{arch}"
|
||||
@@url = "https://dl.gitea.io/gitea/#{version}/#{@@filename}"
|
||||
@@url = "https://dl.gitea.com/gitea/#{version}/#{@@filename}"
|
||||
@@using = :nounzip
|
||||
|
||||
if os == "darwin-10.12" || arch == "amd64"
|
||||
|
|
2
gitea.rb
2
gitea.rb
|
@ -15,7 +15,7 @@ class Gitea < Formula
|
|||
end
|
||||
|
||||
@@filename = "gitea-#{version}-#{os}-#{arch}"
|
||||
@@url = "https://dl.gitea.io/gitea/#{version}/#{@@filename}"
|
||||
@@url = "https://dl.gitea.com/gitea/#{version}/#{@@filename}"
|
||||
@@using = :nounzip
|
||||
|
||||
if os == "darwin-10.12" || arch == "amd64"
|
||||
|
|
|
@ -15,7 +15,7 @@ class TeaHead < Formula
|
|||
end
|
||||
|
||||
@@filename = "tea-#{version}-#{os}-#{arch}"
|
||||
@@url = "https://dl.gitea.io/tea/#{version}/#{@@filename}"
|
||||
@@url = "https://dl.gitea.com/tea/#{version}/#{@@filename}"
|
||||
@@using = :nounzip
|
||||
|
||||
if os == "darwin" || arch == "amd64"
|
||||
|
|
Loading…
Reference in New Issue