test cargo build opts
Some checks failed
PikaOS Package Build Only (Canary) (amd64-v3) / build (push) Failing after 10s
Some checks failed
PikaOS Package Build Only (Canary) (amd64-v3) / build (push) Failing after 10s
This commit is contained in:
parent
b627ca9dd4
commit
162fd971f9
2
.github/build-canary-v3
vendored
2
.github/build-canary-v3
vendored
@ -1 +1 @@
|
||||
6
|
||||
7
|
||||
|
4
debian/rules
vendored
4
debian/rules
vendored
@ -4,12 +4,12 @@
|
||||
## Output every command that modifies files on the build system.
|
||||
export DH_VERBOSE = 1
|
||||
|
||||
export PIKA_BUILD_ARCH = $(shell cat pika-build-arch)
|
||||
export PIKA_BUILD_ARCH = $(shell cat ../pika-build-arch)
|
||||
|
||||
override_dh_prep:
|
||||
# amd64 build prep
|
||||
ifeq (amd64-v3,$(PIKA_BUILD_ARCH))
|
||||
export RUSTFLAGS="-C target-cpu=x86-64-v34 -Clinker-plugin-lto -Copt-level=34"
|
||||
export RUSTFLAGS="-C target-cpu=x86-64-v3 -Clinker-plugin-lto -Copt-level=3"
|
||||
endif
|
||||
|
||||
BUILDFLAGS := --release
|
||||
|
4
main.sh
4
main.sh
@ -6,14 +6,14 @@ VERSION="1.3.1.git"
|
||||
|
||||
source ./pika-build-config.sh
|
||||
|
||||
echo "$PIKA_BUILD_ARCH" > pika-build-arch
|
||||
|
||||
# Clone Upstream
|
||||
#git clone https://github.com/waycrate/wayshot.git --recurse-submodules -b "$VERSION"
|
||||
git clone https://github.com/waycrate/wayshot.git --recurse-submodules
|
||||
cp -rvf ./debian ./wayshot
|
||||
cd ./wayshot
|
||||
|
||||
echo "$PIKA_BUILD_ARCH" > pika-build-arch
|
||||
|
||||
# Get build deps
|
||||
apt-get build-dep ./ -y
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user