diff --git a/.github/workflows/build-on-Linux-AArch64.yml b/.github/workflows/build-on-Linux-AArch64.yml index b3fdf85..a716c3f 100644 --- a/.github/workflows/build-on-Linux-AArch64.yml +++ b/.github/workflows/build-on-Linux-AArch64.yml @@ -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 diff --git a/.github/workflows/build-on-Linux-ARMv7.yml b/.github/workflows/build-on-Linux-ARMv7.yml index 8f45a1c..14f7d99 100644 --- a/.github/workflows/build-on-Linux-ARMv7.yml +++ b/.github/workflows/build-on-Linux-ARMv7.yml @@ -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 diff --git a/.github/workflows/build-on-Linux-riscv64.yml b/.github/workflows/build-on-Linux-riscv64.yml index c4297ac..cbe96a8 100644 --- a/.github/workflows/build-on-Linux-riscv64.yml +++ b/.github/workflows/build-on-Linux-riscv64.yml @@ -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 diff --git a/.github/workflows/build-on-Linux-x64.yml b/.github/workflows/build-on-Linux-x64.yml index 7c8afe8..847a9c2 100644 --- a/.github/workflows/build-on-Linux-x64.yml +++ b/.github/workflows/build-on-Linux-x64.yml @@ -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: diff --git a/.github/workflows/build-on-Windows.yml b/.github/workflows/build-on-Windows.yml index 79bb40d..e83424a 100644 --- a/.github/workflows/build-on-Windows.yml +++ b/.github/workflows/build-on-Windows.yml @@ -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: diff --git a/.github/workflows/build-on-macOS.yml b/.github/workflows/build-on-macOS.yml index 9e17623..7d4f2a0 100644 --- a/.github/workflows/build-on-macOS.yml +++ b/.github/workflows/build-on-macOS.yml @@ -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: