Skip to content

Build (Features)

Build (Features) #662

Workflow file for this run

on:
push:
branches:
- main
tags:
- v*
pull_request:
schedule:
- cron: '0 0 * * *'
name: Build (Features)
jobs:
build_lib_no_std:
name: Build (xdvdfs-no_std)
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v3
- name: Install Rust nightly
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
components: clippy
- name: Check lints
uses: actions-rs/cargo@v1
with:
command: clippy
args: -p xdvdfs --no-default-features --features=read -- -D warnings
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: -p xdvdfs --no-default-features --features=read
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: -p xdvdfs --no-default-features --features=read
build_lib_sync:
name: Build (xdvdfs-sync)
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v3
- name: Install Rust nightly
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
components: clippy
- name: Check lints
uses: actions-rs/cargo@v1
with:
command: clippy
args: -p xdvdfs --features=sync -- -D warnings
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: -p xdvdfs --features=sync