Skip to content

Commit

Permalink
Working on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ecton committed Feb 13, 2024
1 parent aaff253 commit 3217237
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
fail-fast: false
matrix:
version: ["stable", "1.70.0"]
features: ["", "--all-features"]
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -20,16 +21,12 @@ jobs:
- name: Run clippy
if: matrix.version == 'stable'
run: |
cargo clippy --all-targets -p muse
cargo clippy ${{ matrix.features }} --all-targets -p muse
- name: Compile with default features
- name: Build
run: |
cargo build --all-targets -p muse
cargo build ${{ matrix.features }} --all-targets -p muse
- name: Run default features unit tests
- name: Run unit tests
run: |
cargo test --all-targets -p muse -- --nocapture
- name: Run all features unit tests
run: |
cargo test --all-features --all-targets -- --nocapture
cargo test ${{ matrix.features }} --all-targets -p muse -- --nocapture
3 changes: 3 additions & 0 deletions guide/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ language = "en"
multilingual = false
src = "src"
title = "Muse Programming Language User's Guide"

[build]
build-dir = "../target/guide"

0 comments on commit 3217237

Please sign in to comment.