Testing workflow
Some checks failed
Multi-Platform Release Build / build (false, linux/arm64, native) (push) Successful in 5m22s
Multi-Platform Release Build / build (true, build-essential gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64, map[CARGO_TARGET_X86_64_PC_WINDOWS_GNU_LINKER:x86_64-w64-mingw32-gcc CC_x86_64_pc_windows_gnu:x86_64-w64-mingw32-gcc], linux/amd64, x86_64-pc-windows-gnu) (push) Successful in 13m0s
Multi-Platform Release Build / build (true, linux/amd64, x86_64-unknown-linux-gnu) (push) Failing after 8m11s
Multi-Platform Release Build / create-release (push) Has been skipped
Some checks failed
Multi-Platform Release Build / build (false, linux/arm64, native) (push) Successful in 5m22s
Multi-Platform Release Build / build (true, build-essential gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64, map[CARGO_TARGET_X86_64_PC_WINDOWS_GNU_LINKER:x86_64-w64-mingw32-gcc CC_x86_64_pc_windows_gnu:x86_64-w64-mingw32-gcc], linux/amd64, x86_64-pc-windows-gnu) (push) Successful in 13m0s
Multi-Platform Release Build / build (true, linux/amd64, x86_64-unknown-linux-gnu) (push) Failing after 8m11s
Multi-Platform Release Build / create-release (push) Has been skipped
This commit is contained in:
parent
3c95626cf9
commit
6e94081db2
2 changed files with 34 additions and 6 deletions
|
|
@ -69,15 +69,12 @@ jobs:
|
||||||
|
|
||||||
- name: Cross-Build Linux x86_64 Release
|
- name: Cross-Build Linux x86_64 Release
|
||||||
if: matrix.target == 'x86_64-unknown-linux-gnu'
|
if: matrix.target == 'x86_64-unknown-linux-gnu'
|
||||||
uses: docker://ghcr.io/cross-rs/x86_64-unknown-linux-gnu:main
|
uses: docker://rust:slim
|
||||||
with:
|
with:
|
||||||
args: >
|
args: >
|
||||||
sh -c "
|
sh -c "
|
||||||
export OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu
|
apt-get update && apt-get install -y build-essential libssl-dev pkg-config gcc-x86-64-linux-gnu &&
|
||||||
export OPENSSL_INCLUDE_DIR=/usr/include/openssl
|
rustup target add x86_64-unknown-linux-gnu &&
|
||||||
export PKG_CONFIG_ALLOW_CROSS=1
|
|
||||||
export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig
|
|
||||||
|
|
||||||
cargo build --release --target x86_64-unknown-linux-gnu &&
|
cargo build --release --target x86_64-unknown-linux-gnu &&
|
||||||
mkdir -p release-artifacts &&
|
mkdir -p release-artifacts &&
|
||||||
cp target/x86_64-unknown-linux-gnu/release/uptime-kuma-dashboard release-artifacts/uptime-kuma-dashboard-x86_64-unknown-linux-gnu &&
|
cp target/x86_64-unknown-linux-gnu/release/uptime-kuma-dashboard release-artifacts/uptime-kuma-dashboard-x86_64-unknown-linux-gnu &&
|
||||||
|
|
|
||||||
31
.vscode/launch.json
vendored
Normal file
31
.vscode/launch.json
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
{
|
||||||
|
// Use IntelliSense to learn about possible attributes.
|
||||||
|
// Hover to view descriptions of existing attributes.
|
||||||
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "Debug executable 'uptime-kuma-dashboard'",
|
||||||
|
"type": "lldb",
|
||||||
|
"request": "launch",
|
||||||
|
"cargo": {
|
||||||
|
"args": [
|
||||||
|
"run",
|
||||||
|
"-- --base-url=http://192.168.69.10:3001/ --slug formgen",
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"args": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Debug unit tests in executable 'uptime-kuma-dashboard'",
|
||||||
|
"type": "lldb",
|
||||||
|
"request": "launch",
|
||||||
|
"cargo": {
|
||||||
|
"args": [
|
||||||
|
"test",
|
||||||
|
"--bin=uptime-kuma-dashboard"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue