Skip to content

Build-artifacts

Build-artifacts #34

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/[email protected]
with:
components: rustfmt, clippy
- name: Cache cargo
uses: actions/cache@v4
with:
path: |
~/.cargo/bin
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Install just
run: command -v just || cargo install just
- name: Run check
run: just check
- name: Install ISO tooling
run: |
sudo apt-get update
sudo apt-get install -y xorriso
- name: Build installer ISO
run: ./scripts/make_iso.sh
- name: Upload installer ISO artifact
uses: actions/upload-artifact@v4
with:
name: tiles-installer-iso
path: dist/*.iso
if-no-files-found: error