mirror of
https://github.com/RubyMetric/chsrc
synced 2025-10-09 21:33:23 +08:00
Check compiler version
This commit is contained in:
7
.github/workflows/build-on-Windows.yml
vendored
7
.github/workflows/build-on-Windows.yml
vendored
@@ -51,7 +51,12 @@ jobs:
|
||||
|
||||
- name: 为 Android 构建
|
||||
run: |
|
||||
mingw32-make.exe build-in-ci-release-mode CC=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/windows-x86_64/bin/aarch64-linux-android21-clang
|
||||
compiler=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/windows-x86_64/bin/aarch64-linux-android21-clang
|
||||
|
||||
# 检查编译器版本
|
||||
$compiler --version
|
||||
|
||||
mingw32-make.exe build-in-ci-release-mode CC=$compiler CROSS_BUILD_WINDOWS_FOR_ANDROID=1
|
||||
mv chsrc-ci-release.exe chsrc-arm64-android
|
||||
|
||||
- name: List files
|
||||
|
12
.github/workflows/build-on-macOS.yml
vendored
12
.github/workflows/build-on-macOS.yml
vendored
@@ -4,7 +4,7 @@
|
||||
# Contributors : Nul None <nul@none.org>
|
||||
# |
|
||||
# Created On : <2023-09-15>
|
||||
# Last Modified : <2025-06-20>
|
||||
# Last Modified : <2025-07-22>
|
||||
#
|
||||
# Build chsrc on macOS and upload it to GitHub: the 'pre' release
|
||||
# ---------------------------------------------------------------
|
||||
@@ -22,6 +22,11 @@ jobs:
|
||||
- name: 检出代码
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: 检查编译器版本
|
||||
run: |
|
||||
clang --version
|
||||
gcc --version
|
||||
|
||||
- name: 为 arm64 (AArch64) 构建
|
||||
run: |
|
||||
make build-in-ci-release-mode
|
||||
@@ -47,6 +52,11 @@ jobs:
|
||||
- name: 检出代码
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: 检查编译器版本
|
||||
run: |
|
||||
clang --version
|
||||
gcc --version
|
||||
|
||||
- name: 为 x64 构建
|
||||
run: |
|
||||
make build-in-ci-release-mode
|
||||
|
Reference in New Issue
Block a user