Big revert button
This commit is contained in:
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
[target.armv7-unknown-linux-musleabihf]
|
[target.armv7-unknown-linux-musleabihf]
|
||||||
linker = "rust-lld"
|
linker = "rust-lld"
|
||||||
|
|
||||||
[target.aarch64-unknown-linux-gnu]
|
# [target.aarch64-unknown-linux-gnu]
|
||||||
linker = "aarch64-linux-gnu-gcc"
|
# linker = "aarch64-linux-gnu-gcc"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
# target = "armv7-unknown-linux-musleabihf"
|
# target = "armv7-unknown-linux-musleabihf"
|
||||||
|
|||||||
@@ -38,36 +38,36 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cargo build --release --target armv7-unknown-linux-musleabihf -p wakey -p wakey-agent
|
cargo build --release --target armv7-unknown-linux-musleabihf -p wakey -p wakey-agent
|
||||||
|
|
||||||
- name: Build UI dist
|
# - name: Build UI dist
|
||||||
shell: bash
|
# shell: bash
|
||||||
run: |
|
# run: |
|
||||||
set -euo pipefail
|
# set -euo pipefail
|
||||||
cd ui
|
# cd ui
|
||||||
# corepack enable # no no no
|
# # corepack enable # no no no
|
||||||
pnpm install --frozen-lockfile
|
# pnpm install --frozen-lockfile
|
||||||
pnpm build
|
# pnpm build
|
||||||
|
|
||||||
- name: Build control-plane (linux gnu)
|
# - name: Build control-plane (linux gnu)
|
||||||
shell: bash
|
# shell: bash
|
||||||
run: |
|
# run: |
|
||||||
set -euo pipefail
|
# set -euo pipefail
|
||||||
for target in x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu; do
|
# for target in x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu; do
|
||||||
cargo build --release --target "$target" -p wakey-control-plane
|
# cargo build --release --target "$target" -p wakey-control-plane
|
||||||
done
|
# done
|
||||||
|
|
||||||
- name: Package rootfs tarball
|
- name: Package rootfs tarball
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
./scripts/package_rootfs.ps1 -Version "${{ github.ref_name }}" -Target armv7-unknown-linux-musleabihf
|
./scripts/package_rootfs.ps1 -Version "${{ github.ref_name }}" -Target armv7-unknown-linux-musleabihf
|
||||||
|
|
||||||
- name: Package control-plane bundles
|
# - name: Package control-plane bundles
|
||||||
shell: bash
|
# shell: bash
|
||||||
run: |
|
# run: |
|
||||||
set -euo pipefail
|
# set -euo pipefail
|
||||||
chmod +x scripts/update_wakey_cc.sh scripts/package_wakey_cc_bundle.sh
|
# 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
|
# 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"
|
# ./scripts/package_wakey_cc_bundle.sh --version "${{ github.ref_name }}" --target "$target"
|
||||||
done
|
# done
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|||||||
Reference in New Issue
Block a user