bash
This commit is contained in:
parent
a16c640ff1
commit
d68ecdcdad
@ -19,7 +19,7 @@ jobs:
|
|||||||
working-directory: /usr/local/gitea-workflow/workspace/sdlan-lib-rs
|
working-directory: /usr/local/gitea-workflow/workspace/sdlan-lib-rs
|
||||||
run: |
|
run: |
|
||||||
flock -n build.lock -c '
|
flock -n build.lock -c '
|
||||||
source ~/.bashrc
|
source /home/runner/.bashrc
|
||||||
git pull
|
git pull
|
||||||
rm -rf /usr/local/gitea-workflow/workspace/sdlan-lib-rs/target/x86_64-unknown-linux-musl/debian/*.deb || true
|
rm -rf /usr/local/gitea-workflow/workspace/sdlan-lib-rs/target/x86_64-unknown-linux-musl/debian/*.deb || true
|
||||||
rm -rf /usr/local/gitea-workflow/workspace/sdlan-lib-rs/target/aarch64-unknown-linux-musl/debian/*.deb || true
|
rm -rf /usr/local/gitea-workflow/workspace/sdlan-lib-rs/target/aarch64-unknown-linux-musl/debian/*.deb || true
|
||||||
|
|||||||
4
Makefile
4
Makefile
@ -1,3 +1,6 @@
|
|||||||
|
SHELL := /bin/bash
|
||||||
|
.SHELLFLAGS := --login -c
|
||||||
|
|
||||||
self: libtun-so
|
self: libtun-so
|
||||||
RUSTFLAGS="-L ." cargo build --release
|
RUSTFLAGS="-L ." cargo build --release
|
||||||
|
|
||||||
@ -7,7 +10,6 @@ linux: libtun-so
|
|||||||
aarch64: libtun-so-aarch64
|
aarch64: libtun-so-aarch64
|
||||||
RUSTFLAGS="-L ." cargo build --release --target aarch64-unknown-linux-gnu
|
RUSTFLAGS="-L ." cargo build --release --target aarch64-unknown-linux-gnu
|
||||||
|
|
||||||
|
|
||||||
linux-tun: libtun-so
|
linux-tun: libtun-so
|
||||||
RUSTFLAGS="-L ." cargo build --features "tun" --release
|
RUSTFLAGS="-L ." cargo build --features "tun" --release
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user