mirror of
https://github.com/RubyMetric/chsrc
synced 2025-08-25 20:56:14 +08:00
Update default build targets
This commit is contained in:
parent
2ad8c63b59
commit
429fe656b2
7
.github/workflows/build-on-Linux-AArch64.yml
vendored
7
.github/workflows/build-on-Linux-AArch64.yml
vendored
@ -4,7 +4,7 @@
|
|||||||
# Contributors : Nul None <nul@none.org>
|
# Contributors : Nul None <nul@none.org>
|
||||||
# |
|
# |
|
||||||
# Created On : <2023-09-14>
|
# Created On : <2023-09-14>
|
||||||
# Last Modified : <2025-06-19>
|
# Last Modified : <2025-06-20>
|
||||||
#
|
#
|
||||||
# Build chsrc on Linux (AArch64) and upload it to GitHub: the 'pre' release
|
# Build chsrc on Linux (AArch64) and upload it to GitHub: the 'pre' release
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
@ -33,7 +33,10 @@ jobs:
|
|||||||
pwd ; ls -al
|
pwd ; ls -al
|
||||||
git clone https://github.com/RubyMetric/chsrc -b gh-build -q
|
git clone https://github.com/RubyMetric/chsrc -b gh-build -q
|
||||||
cd chsrc
|
cd chsrc
|
||||||
make CI CI_ARTIFACT_NAME=chsrc-aarch64-linux
|
|
||||||
|
make build-in-ci-release-mode
|
||||||
|
mv chsrc-ci-release chsrc-aarch64-linux
|
||||||
|
|
||||||
cp ./chsrc-aarch64-linux /artifacts
|
cp ./chsrc-aarch64-linux /artifacts
|
||||||
|
|
||||||
- name: 上传至 'pre' release
|
- name: 上传至 'pre' release
|
||||||
|
7
.github/workflows/build-on-Linux-ARMv7.yml
vendored
7
.github/workflows/build-on-Linux-ARMv7.yml
vendored
@ -4,7 +4,7 @@
|
|||||||
# Contributors : Nul None <nul@none.org>
|
# Contributors : Nul None <nul@none.org>
|
||||||
# |
|
# |
|
||||||
# Created On : <2023-09-14>
|
# Created On : <2023-09-14>
|
||||||
# Last Modified : <2025-06-19>
|
# Last Modified : <2025-06-20>
|
||||||
#
|
#
|
||||||
# Build chsrc on Linux (ARMv7) and upload it to GitHub: the 'pre' release
|
# Build chsrc on Linux (ARMv7) and upload it to GitHub: the 'pre' release
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
@ -33,7 +33,10 @@ jobs:
|
|||||||
pwd ; ls -al
|
pwd ; ls -al
|
||||||
git clone https://github.com/RubyMetric/chsrc -b gh-build -q
|
git clone https://github.com/RubyMetric/chsrc -b gh-build -q
|
||||||
cd chsrc
|
cd chsrc
|
||||||
make CI CI_ARTIFACT_NAME=chsrc-armv7-linux
|
|
||||||
|
make build-in-ci-release-mode
|
||||||
|
mv chsrc-ci-release chsrc-armv7-linux
|
||||||
|
|
||||||
cp ./chsrc-armv7-linux /artifacts
|
cp ./chsrc-armv7-linux /artifacts
|
||||||
|
|
||||||
- name: 上传至 'pre' release
|
- name: 上传至 'pre' release
|
||||||
|
7
.github/workflows/build-on-Linux-riscv64.yml
vendored
7
.github/workflows/build-on-Linux-riscv64.yml
vendored
@ -4,7 +4,7 @@
|
|||||||
# Contributors : Nul None <nul@none.org>
|
# Contributors : Nul None <nul@none.org>
|
||||||
# |
|
# |
|
||||||
# Created On : <2023-09-14>
|
# Created On : <2023-09-14>
|
||||||
# Last Modified : <2025-06-19>
|
# Last Modified : <2025-06-20>
|
||||||
#
|
#
|
||||||
# Build chsrc on Linux (riscv64) and upload it to GitHub: the 'pre' release
|
# Build chsrc on Linux (riscv64) and upload it to GitHub: the 'pre' release
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
@ -33,7 +33,10 @@ jobs:
|
|||||||
pwd ; ls -al
|
pwd ; ls -al
|
||||||
git clone https://github.com/RubyMetric/chsrc -b gh-build -q
|
git clone https://github.com/RubyMetric/chsrc -b gh-build -q
|
||||||
cd chsrc
|
cd chsrc
|
||||||
make CI CI_ARTIFACT_NAME=chsrc-riscv64-linux
|
|
||||||
|
make build-in-ci-release-mode
|
||||||
|
mv chsrc-ci-release chsrc-riscv64-linux
|
||||||
|
|
||||||
cp ./chsrc-riscv64-linux /artifacts
|
cp ./chsrc-riscv64-linux /artifacts
|
||||||
|
|
||||||
- name: 上传至 'pre' release
|
- name: 上传至 'pre' release
|
||||||
|
5
.github/workflows/build-on-Linux-x64.yml
vendored
5
.github/workflows/build-on-Linux-x64.yml
vendored
@ -4,7 +4,7 @@
|
|||||||
# Contributors : Nul None <nul@none.org>
|
# Contributors : Nul None <nul@none.org>
|
||||||
# |
|
# |
|
||||||
# Created On : <2023-09-14>
|
# Created On : <2023-09-14>
|
||||||
# Last Modified : <2025-06-19>
|
# Last Modified : <2025-06-20>
|
||||||
#
|
#
|
||||||
# Build chsrc on Linux (x64) and upload it to GitHub: the 'pre' release
|
# Build chsrc on Linux (x64) and upload it to GitHub: the 'pre' release
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
@ -24,7 +24,8 @@ jobs:
|
|||||||
|
|
||||||
- name: 构建
|
- name: 构建
|
||||||
run: |
|
run: |
|
||||||
make CI CI_ARTIFACT_NAME=chsrc-x64-linux
|
make build-in-ci-release-mode
|
||||||
|
mv chsrc-ci-release chsrc-x64-linux
|
||||||
|
|
||||||
- name: List files
|
- name: List files
|
||||||
run: ls *-linux
|
run: ls *-linux
|
||||||
|
8
.github/workflows/build-on-Windows.yml
vendored
8
.github/workflows/build-on-Windows.yml
vendored
@ -4,7 +4,7 @@
|
|||||||
# Contributors : Nul None <nul@none.org>
|
# Contributors : Nul None <nul@none.org>
|
||||||
# |
|
# |
|
||||||
# Created On : <2023-09-14>
|
# Created On : <2023-09-14>
|
||||||
# Last Modified : <2025-06-19>
|
# Last Modified : <2025-06-20>
|
||||||
#
|
#
|
||||||
# Build chsrc on Windows and upload it to GitHub: the 'pre' release
|
# Build chsrc on Windows and upload it to GitHub: the 'pre' release
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
@ -39,13 +39,15 @@ jobs:
|
|||||||
|
|
||||||
- name: 为 x64 构建
|
- name: 为 x64 构建
|
||||||
run: |
|
run: |
|
||||||
mingw32-make.exe CI CI_ARTIFACT_NAME=chsrc-x64-windows
|
mingw32-make.exe build-in-ci-release-mode
|
||||||
|
mv chsrc-ci-release.exe chsrc-x64-windows.exe
|
||||||
|
|
||||||
- name: 为 x32 构建
|
- name: 为 x32 构建
|
||||||
env:
|
env:
|
||||||
MSYSTEM: MINGW32
|
MSYSTEM: MINGW32
|
||||||
run: |
|
run: |
|
||||||
mingw32-make.exe CI CI_ARTIFACT_NAME=chsrc-x86-windows
|
mingw32-make.exe build-in-ci-release-mode
|
||||||
|
mv chsrc-ci-release.exe chsrc-x86-windows.exe
|
||||||
|
|
||||||
- name: List files
|
- name: List files
|
||||||
run: ls *.exe
|
run: ls *.exe
|
||||||
|
14
.github/workflows/build-on-macOS.yml
vendored
14
.github/workflows/build-on-macOS.yml
vendored
@ -4,7 +4,7 @@
|
|||||||
# Contributors : Nul None <nul@none.org>
|
# Contributors : Nul None <nul@none.org>
|
||||||
# |
|
# |
|
||||||
# Created On : <2023-09-15>
|
# Created On : <2023-09-15>
|
||||||
# Last Modified : <2025-06-19>
|
# Last Modified : <2025-06-20>
|
||||||
#
|
#
|
||||||
# Build chsrc on macOS and upload it to GitHub: the 'pre' release
|
# Build chsrc on macOS and upload it to GitHub: the 'pre' release
|
||||||
# ---------------------------------------------------------------
|
# ---------------------------------------------------------------
|
||||||
@ -15,16 +15,17 @@ on:
|
|||||||
branches: [ "gh-build" ]
|
branches: [ "gh-build" ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-upload-on-M1:
|
on-arm64:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: 检出代码
|
- name: 检出代码
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: 为 AArch64 构建
|
- name: 为 arm64 (AArch64) 构建
|
||||||
run: |
|
run: |
|
||||||
make CI CI_ARTIFACT_NAME=chsrc-aarch64-macos
|
make build-in-ci-release-mode
|
||||||
|
mv chsrc-ci-release chsrc-aarch64-macos
|
||||||
|
|
||||||
- name: List files
|
- name: List files
|
||||||
run: ls *-macos
|
run: ls *-macos
|
||||||
@ -39,7 +40,7 @@ jobs:
|
|||||||
token: ${{ secrets.UPLOAD_TO_GITHUB }}
|
token: ${{ secrets.UPLOAD_TO_GITHUB }}
|
||||||
|
|
||||||
|
|
||||||
build-and-upload-on-x64:
|
on-x64:
|
||||||
runs-on: macos-13 # macos-14 is AArch64(ARMv8-A)
|
runs-on: macos-13 # macos-14 is AArch64(ARMv8-A)
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -48,7 +49,8 @@ jobs:
|
|||||||
|
|
||||||
- name: 为 x64 构建
|
- name: 为 x64 构建
|
||||||
run: |
|
run: |
|
||||||
make CI CI_ARTIFACT_NAME=chsrc-x64-macos
|
make build-in-ci-release-mode
|
||||||
|
mv chsrc-ci-release chsrc-x64-macos
|
||||||
|
|
||||||
- name: List files
|
- name: List files
|
||||||
run: ls *-macos
|
run: ls *-macos
|
||||||
|
Loading…
x
Reference in New Issue
Block a user