Skip to content

Makefile.toml: Download 'towbootctl' from GitHub releases; Update dep… #72

Makefile.toml: Download 'towbootctl' from GitHub releases; Update dep…

Makefile.toml: Download 'towbootctl' from GitHub releases; Update dep… #72

Workflow file for this run

name: build
on: [push]
jobs:
build-on-linux:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Install packages
uses: amitie10g/install-package@v1.2.3
with:
apt: build-essential nasm
- name: Install Rust
uses: dtolnay/rust-toolchain@nightly
with:
components: "rust-src"
- name: Cache Cargo
uses: Swatinem/rust-cache@v2
with:
shared-key: cargo-${{ hashFiles('**/Cargo.lock') }}
cache-all-crates: true
cache-on-failure: true
- name: Install cargo-make
run: cargo install --no-default-features cargo-make
- name: Build
uses: clechasseur/rs-cargo@v2
with:
command: make
args: --no-workspace image
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: D3OS
path: d3os.img
build-on-intel-mac:
runs-on: macos-12
steps:
- uses: actions/checkout@v4
- name: Install packages
uses: amitie10g/install-package@v1.2.3
with:
brew: x86_64-elf-binutils nasm
- name: Install Rust
uses: dtolnay/rust-toolchain@nightly
with:
components: "rust-src"
- name: Cache Cargo
uses: Swatinem/rust-cache@v2
with:
shared-key: cargo-${{ hashFiles('**/Cargo.lock') }}
cache-all-crates: true
cache-on-failure: true
- name: Install cargo-make
run: cargo install --no-default-features cargo-make
- name: Build
uses: clechasseur/rs-cargo@v2
with:
command: make
args: --no-workspace image
build-on-apple-silicon-mac:
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- name: Install packages
uses: amitie10g/install-package@v1.2.3
with:
brew: x86_64-elf-binutils nasm
- name: Install Rust
uses: dtolnay/rust-toolchain@nightly
with:
components: "rust-src"
- name: Cache Cargo
uses: Swatinem/rust-cache@v2
with:
shared-key: cargo-${{ hashFiles('**/Cargo.lock') }}
cache-all-crates: true
cache-on-failure: true
- name: Install cargo-make
run: cargo install --no-default-features cargo-make
- name: Build
uses: clechasseur/rs-cargo@v2
with:
command: make
args: --no-workspace image