Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mobile-transceiver-software
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Will Sloan
mobile-transceiver-software
Commits
2db79ece
Commit
2db79ece
authored
2 months ago
by
Will Sloan
Browse files
Options
Downloads
Patches
Plain Diff
Fix issue with non-persistent cd in CI
parent
2b632770
No related branches found
No related tags found
No related merge requests found
Pipeline
#8223
failed
2 months ago
Stage: lint
Stage: build
Stage: build-flasher
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+9
-7
9 additions, 7 deletions
.gitlab-ci.yml
with
9 additions
and
7 deletions
.gitlab-ci.yml
+
9
−
7
View file @
2db79ece
...
...
@@ -34,13 +34,15 @@ build-flasher:
stage
:
build-flasher
script
:
-
rm -rf flasher; mkdir flasher
-
cd firmware-flasher
# cd into submodule
-
cp ../firmware.bin firmware.bin
-
cargo build --release --target arm-unknown-linux-gnueabihf
-
cargo build --release --target x86_64-pc-windows-gnu
-
cp target/arm-unknown-linux-gnueabihf/release/stm32-firmware-flasher ../flasher/flasher-linux
-
arm-linux-gnueabihf-strip ../flasher/flasher-linux
-
cp target/x86_64-pc-windows-gnu/release/stm32-firmware-flasher.exe ../flasher/flasher-windows.exe
-
>
(cd firmware-flasher &&
cp ../firmware.bin firmware.bin &&
cargo build --release --target arm-unknown-linux-gnueabihf &&
cargo build --release --target x86_64-pc-windows-gnu &&
cp target/arm-unknown-linux-gnueabihf/release/stm32-firmware-flasher ../flasher/flasher-linux &&
arm-linux-gnueabihf-strip ../flasher/flasher-linux &&
cp target/x86_64-pc-windows-gnu/release/stm32-firmware-flasher.exe ../flasher/flasher-windows.exe
)
artifacts
:
paths
:
-
flasher/*
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment