Big revert button

This commit is contained in:
lda
2026-04-14 09:55:45 +07:00 Unverified
parent ac824235ab
commit 5fbe4b9d61
2 changed files with 25 additions and 25 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
[target.armv7-unknown-linux-musleabihf]
linker = "rust-lld"
[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"
# [target.aarch64-unknown-linux-gnu]
# linker = "aarch64-linux-gnu-gcc"
[build]
# target = "armv7-unknown-linux-musleabihf"
+23 -23
View File
@@ -38,36 +38,36 @@ jobs:
run: |
cargo build --release --target armv7-unknown-linux-musleabihf -p wakey -p wakey-agent
- name: Build UI dist
shell: bash
run: |
set -euo pipefail
cd ui
# corepack enable # no no no
pnpm install --frozen-lockfile
pnpm build
# - name: Build UI dist
# shell: bash
# run: |
# set -euo pipefail
# cd ui
# # corepack enable # no no no
# pnpm install --frozen-lockfile
# pnpm build
- name: Build control-plane (linux gnu)
shell: bash
run: |
set -euo pipefail
for target in x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu; do
cargo build --release --target "$target" -p wakey-control-plane
done
# - name: Build control-plane (linux gnu)
# shell: bash
# run: |
# set -euo pipefail
# for target in x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu; do
# cargo build --release --target "$target" -p wakey-control-plane
# done
- name: Package rootfs tarball
shell: pwsh
run: |
./scripts/package_rootfs.ps1 -Version "${{ github.ref_name }}" -Target armv7-unknown-linux-musleabihf
- name: Package control-plane bundles
shell: bash
run: |
set -euo pipefail
chmod +x scripts/update_wakey_cc.sh scripts/package_wakey_cc_bundle.sh
for target in x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu; do
./scripts/package_wakey_cc_bundle.sh --version "${{ github.ref_name }}" --target "$target"
done
# - name: Package control-plane bundles
# shell: bash
# run: |
# set -euo pipefail
# chmod +x scripts/update_wakey_cc.sh scripts/package_wakey_cc_bundle.sh
# for target in x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu; do
# ./scripts/package_wakey_cc_bundle.sh --version "${{ github.ref_name }}" --target "$target"
# done
- name: Upload artifact
uses: actions/upload-artifact@v3