mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Fix workflow syntax
This commit is contained in:
10
.github/workflows/build-code.yml
vendored
10
.github/workflows/build-code.yml
vendored
@@ -57,17 +57,17 @@ jobs:
|
||||
run: cargo install bootimage --debug
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v2
|
||||
- name: "Add thumbv7em-none-eabihf Target"
|
||||
- name: Add thumbv7em-none-eabihf Target
|
||||
run: rustup target add thumbv7em-none-eabihf
|
||||
- name: "Build for 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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user