Skip to content

Commit

Permalink
update CI and minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AdinAck committed Dec 15, 2024
1 parent 69a70bc commit cef6071
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,19 @@ env:
CARGO_TERM_COLOR: always

jobs:
build:
ci:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Install Deps
run: sudo apt -y install libudev-dev
- name: ci
- name: CI
run: ./ci.sh
ci-esp:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: CI
run: ./ci-esp.sh
4 changes: 2 additions & 2 deletions src/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ impl Init {
target = chip.target,
rustflags = match variant {
Variant::C3 => "rustflags = [\n\"-C\", \"force-frame-pointers\",\n]",
Variant::S2 => "rustflags = [\n\"-C\", \"link-arg=-nostartfiles\",\n]",
Variant::S3 => "rustflags = [\n\"-C\", \"link-arg=-nostartfiles\",\n]",
Variant::S2 | Variant::S3 =>
"rustflags = [\n\"-C\", \"link-arg=-nostartfiles\",\n]",
}
),
_ => format!(
Expand Down

0 comments on commit cef6071

Please sign in to comment.