mirror of
https://github.com/TheWhiteDog9487/lag2cn.git
synced 2026-08-11 23:01:29 +08:00
修复Workflow
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
name: 更新二进制可执行文件
|
name: 更新二进制可执行文件
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- language.cpp
|
- language.cpp
|
||||||
@@ -12,12 +13,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: 安装GCC对ARM交叉编译工具链
|
- name: 安装GCC对ARM交叉编译工具链
|
||||||
run: apt install gcc-arm-none-eabi
|
run: sudo apt install g++-aarch64-linux-gnu
|
||||||
|
|
||||||
- name: 编译源代码
|
- name: 编译源代码
|
||||||
run: |
|
run: |
|
||||||
arm-none-eabi-g++ -o language_arm --static -std=c++26 languagecpp
|
g++ -o language --static -std=c++20 language.cpp
|
||||||
g++ -o language --static -std=c++26 language.cpp
|
aarch64-linux-gnu-g++ -o language_arm --static -std=c++20 language.cpp
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user