mirror of
https://github.com/RubyMetric/chsrc
synced 2025-06-18 09:47:01 +08:00
Workflows use zh
[skip ci]
This commit is contained in:
parent
d798da80f7
commit
02c3a815de
6
.github/workflows/build-on-Linux-AArch64.yml
vendored
6
.github/workflows/build-on-Linux-AArch64.yml
vendored
@ -9,7 +9,7 @@
|
||||
# Build chsrc on Linux (AArch64) and upload it to GitHub: the 'pre' release
|
||||
# ---------------------------------------------------------------
|
||||
|
||||
name: Build on Linux AArch64
|
||||
name: 构建于 Linux AArch64
|
||||
on:
|
||||
push:
|
||||
branches: [ "gh-build" ]
|
||||
@ -20,7 +20,7 @@ jobs:
|
||||
build-and-upload:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Build
|
||||
- name: 构建
|
||||
uses: uraimo/run-on-arch-action@v2
|
||||
with:
|
||||
arch: aarch64
|
||||
@ -38,7 +38,7 @@ jobs:
|
||||
make CI CI_ARTIFACT_NAME=chsrc-aarch64-linux
|
||||
cp ./chsrc-aarch64-linux /artifacts
|
||||
|
||||
- name: Upload
|
||||
- name: 上传至 'pre' release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
tag_name: pre
|
||||
|
6
.github/workflows/build-on-Linux-ARMv7.yml
vendored
6
.github/workflows/build-on-Linux-ARMv7.yml
vendored
@ -9,7 +9,7 @@
|
||||
# Build chsrc on Linux (ARMv7) and upload it to GitHub: the 'pre' release
|
||||
# ---------------------------------------------------------------
|
||||
|
||||
name: Build on Linux ARMv7
|
||||
name: 构建于 Linux ARMv7
|
||||
on:
|
||||
push:
|
||||
branches: [ "gh-build" ]
|
||||
@ -20,7 +20,7 @@ jobs:
|
||||
build-and-upload:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Build
|
||||
- name: 构建
|
||||
uses: uraimo/run-on-arch-action@v2
|
||||
with:
|
||||
arch: armv7
|
||||
@ -38,7 +38,7 @@ jobs:
|
||||
make CI CI_ARTIFACT_NAME=chsrc-armv7-linux
|
||||
cp ./chsrc-armv7-linux /artifacts
|
||||
|
||||
- name: Upload
|
||||
- name: 上传至 'pre' release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
tag_name: pre
|
||||
|
6
.github/workflows/build-on-Linux-riscv64.yml
vendored
6
.github/workflows/build-on-Linux-riscv64.yml
vendored
@ -9,7 +9,7 @@
|
||||
# Build chsrc on Linux (riscv64) and upload it to GitHub: the 'pre' release
|
||||
# ---------------------------------------------------------------
|
||||
|
||||
name: Build on Linux riscv64
|
||||
name: 构建于 Linux riscv64
|
||||
on:
|
||||
push:
|
||||
branches: [ "gh-build" ]
|
||||
@ -20,7 +20,7 @@ jobs:
|
||||
build-and-upload:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Build
|
||||
- name: 构建
|
||||
uses: uraimo/run-on-arch-action@v2
|
||||
with:
|
||||
arch: riscv64
|
||||
@ -38,7 +38,7 @@ jobs:
|
||||
make CI CI_ARTIFACT_NAME=chsrc-riscv64-linux
|
||||
cp ./chsrc-riscv64-linux /artifacts
|
||||
|
||||
- name: Upload
|
||||
- name: 上传至 'pre' release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
tag_name: pre
|
||||
|
8
.github/workflows/build-on-Linux-x64.yml
vendored
8
.github/workflows/build-on-Linux-x64.yml
vendored
@ -9,7 +9,7 @@
|
||||
# Build chsrc on Linux (x64) and upload it to GitHub: the 'pre' release
|
||||
# ---------------------------------------------------------------
|
||||
|
||||
name: Build on Linux x64
|
||||
name: 构建于 Linux x64
|
||||
on:
|
||||
push:
|
||||
branches: [ "gh-build" ]
|
||||
@ -21,17 +21,17 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
- name: 检出代码
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build
|
||||
- name: 构建
|
||||
run: |
|
||||
make CI CI_ARTIFACT_NAME=chsrc-x64-linux
|
||||
|
||||
- name: List files
|
||||
run: ls *-linux
|
||||
|
||||
- name: Upload
|
||||
- name: 上传至 'pre' release
|
||||
uses: softprops/action-gh-release@v2
|
||||
# if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
|
12
.github/workflows/build-on-Windows.yml
vendored
12
.github/workflows/build-on-Windows.yml
vendored
@ -9,7 +9,7 @@
|
||||
# Build chsrc on Windows and upload it to GitHub: the 'pre' release
|
||||
# ---------------------------------------------------------------
|
||||
|
||||
name: Build on Windows
|
||||
name: 构建于 Windows
|
||||
on:
|
||||
push:
|
||||
branches: [ "gh-build" ]
|
||||
@ -25,10 +25,10 @@ jobs:
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout repo
|
||||
- name: 检出代码
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install x64 gcc
|
||||
- name: 安装 GCC
|
||||
uses: msys2/setup-msys2@v2
|
||||
with:
|
||||
msystem: UCRT64
|
||||
@ -39,11 +39,11 @@ jobs:
|
||||
mingw-w64-i686-gcc
|
||||
mingw-w64-i686-make
|
||||
|
||||
- name: Build
|
||||
- name: 为 x64 构建
|
||||
run: |
|
||||
mingw32-make.exe CI CI_ARTIFACT_NAME=chsrc-x64-windows
|
||||
|
||||
- name: Compile chsrc x86
|
||||
- name: 为 x32 构建
|
||||
env:
|
||||
MSYSTEM: MINGW32
|
||||
run: |
|
||||
@ -52,7 +52,7 @@ jobs:
|
||||
- name: List files
|
||||
run: ls *.exe
|
||||
|
||||
- name: Upload
|
||||
- name: 上传至 'pre' release
|
||||
uses: softprops/action-gh-release@v2
|
||||
# if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
|
14
.github/workflows/build-on-macOS.yml
vendored
14
.github/workflows/build-on-macOS.yml
vendored
@ -9,7 +9,7 @@
|
||||
# Build chsrc on macOS and upload it to GitHub: the 'pre' release
|
||||
# ---------------------------------------------------------------
|
||||
|
||||
name: Build on macOS
|
||||
name: 构建于 macOS
|
||||
on:
|
||||
push:
|
||||
branches: [ "gh-build" ]
|
||||
@ -21,17 +21,17 @@ jobs:
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
- name: 检出代码
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build for AArch64
|
||||
- name: 为 AArch64 构建
|
||||
run: |
|
||||
make CI CI_ARTIFACT_NAME=chsrc-aarch64-macos
|
||||
|
||||
- name: List files
|
||||
run: ls *-macos
|
||||
|
||||
- name: Upload
|
||||
- name: 上传至 'pre' release
|
||||
uses: softprops/action-gh-release@v2
|
||||
# if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
@ -45,17 +45,17 @@ jobs:
|
||||
runs-on: macos-13 # macos-14 is AArch64(ARMv8-A)
|
||||
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
- name: 检出代码
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build for x64
|
||||
- name: 为 x64 构建
|
||||
run: |
|
||||
make CI CI_ARTIFACT_NAME=chsrc-x64-macos
|
||||
|
||||
- name: List files
|
||||
run: ls *-macos
|
||||
|
||||
- name: Upload
|
||||
- name: 上传至 'pre' release
|
||||
uses: softprops/action-gh-release@v2
|
||||
# if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user