Skip to content

更新ci

更新ci #248

Workflow file for this run

name: container build and push
on:
push:
branches: [ "*" ]
tags: [ '*.*.*' ]
pull_request:
branches: [ "*" ]
# env:
# REGISTRY: ghcr.io
# EULIX_REGISTRY: hub.eulix.xyz
# HUAWEICLOUD_REGISTRY_SH: swr.cn-east-3.myhuaweicloud.com
# HUAWEICLOUD_REGISTRY_BJ: swr.cn-north-4.myhuaweicloud.com
# HUAWEICLOUD_REGISTRY_GZ: swr.cn-south-1.myhuaweicloud.com
# HUAWEICLOUD_REGISTRY_HK: swr.ap-southeast-1.myhuaweicloud.com
# HUAWEICLOUD_REGISTRY_SG: swr.ap-southeast-3.myhuaweicloud.com
# HUAWEICLOUD_REGISTRY_AF: swr.af-south-1.myhuaweicloud.com
# HUAWEICLOUD_REGISTRY_LA: swr.la-north-2.myhuaweicloud.com
# IMAGE_NAME: ${{ github.repository }}
jobs:
build:
runs-on: macos-14
permissions:
contents: read
packages: write
id-token: write
steps:
- uses: actions/checkout@v3
# with:
# submodules: recursive
# - name: Set up Go
# uses: actions/setup-go@v4
# with:
# go-version: 'stable'
- name: package-gt
run: |-
brew install make llvm@16 binutils
sudo echo 'export PATH="/opt/homebrew/opt/llvm@16/bin:$PATH"' >> ~/.bash_profile
export PATH="/opt/homebrew/opt/llvm@16/bin:$PATH"
export PATH="/opt/homebrew/opt/make/libexec/gnubin:$PATH"
sudo echo 'export PATH="/opt/homebrew/opt/binutils/bin:$PATH"' >> ~/.bash_profile
export PATH="/opt/homebrew/opt/binutils/bin:$PATH"
source ~/.bash_profile
# rustup target add x86_64-apple-darwin aarch64-apple-darwin
# make
- name: Archive GT artifacts
uses: actions/upload-artifact@v3
with:
name: gt-mac
path: |
release/*