diff --git a/.github/workflows/build-code.yml b/.github/workflows/build-code.yml index 219ffd97..ae1c40c5 100644 --- a/.github/workflows/build-code.yml +++ b/.github/workflows/build-code.yml @@ -57,17 +57,17 @@ jobs: run: cargo install bootimage --debug - name: Checkout Repository uses: actions/checkout@v2 - - name: "Add thumbv7em-none-eabihf Target" - run: rustup target add thumbv7em-none-eabihf - - name: "Build for thumbv7em-none-eabihf" + - name: Add thumbv7em-none-eabihf Target + run: rustup target add thumbv7em-none-eabihf + - name: Build for thumbv7em-none-eabihf run: cargo build --target thumbv7em-none-eabihf - - name: "Build for Linux" + - name: Build for Linux if: runner.os == 'Linux' run: cargo rustc -- -C link-arg=-nostartfiles - - name: "Build for macOS" + - name: Build for macOS if: runner.os == 'macOS' run: cargo rustc -- -C link-args="-e __start -static -nostartfiles" - - name: "Build for Windows" + - name: Build for Windows if: runner.os == 'Windows' run: cargo rustc -- -C link-args="/ENTRY:_start /SUBSYSTEM:console"