Skip to content

Commit 4a8dfb6

Browse files
committed
Improved README, added basic CI CD
1 parent 55e1f23 commit 4a8dfb6

File tree

3 files changed

+76
-0
lines changed

3 files changed

+76
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main, develop ]
6+
pull_request:
7+
branches: [ main ]
8+
schedule:
9+
# Run nightly to catch regressions
10+
- cron: '0 0 * * *'
11+
12+
env:
13+
CARGO_TERM_COLOR: always
14+
RUST_BACKTRACE: 1
15+
16+
# TODO: Add Clippy and mock Funderberker testing
17+
18+
jobs:
19+
name: Check
20+
runs-on: ubuntu-latest
21+
strategy:
22+
matrix:
23+
crate:
24+
- macros
25+
- utils
26+
steps:
27+
- uses: actions/checkout@v4
28+
- uses: dtolnay/rust-toolchain@stable
29+
- uses: Swatinem/rust-cache@v2
30+
with:
31+
key: crate-${{ matrix.crate }}
32+
- name: Check ${{ matrix.crate }}
33+
run: cargo +nightly check --manifest-path="${{ matrix.crate }}/Cargo.toml" --verbose
34+
35+
unit-tests:
36+
name: Unit Test Individual Crates
37+
runs-on: ubuntu-latest
38+
strategy:
39+
matrix:
40+
crate:
41+
- macros
42+
- utils
43+
steps:
44+
- uses: actions/checkout@v4
45+
- uses: dtolnay/rust-toolchain@stable
46+
- uses: Swatinem/rust-cache@v2
47+
with:
48+
key: crate-${{ matrix.crate }}
49+
50+
- name: Test ${{ matrix.crate }}
51+
run: cargo +nightly test --manifest-path="${{ matrix.crate }}/Cargo.toml" --verbose
52+
53+
docs:
54+
name: Documentation
55+
runs-on: ubuntu-latest
56+
steps:
57+
- uses: actions/checkout@v4
58+
- uses: dtolnay/rust-toolchain@stable
59+
- uses: Swatinem/rust-cache@v2
60+
- name: Build docs
61+
run: cargo doc --no-deps --all-features
62+
- name: Deploy to GitHub Pages
63+
if: github.ref == 'refs/heads/main'
64+
uses: peaceiris/actions-gh-pages@v3
65+
with:
66+
github_token: ${{ secrets.GITHUB_TOKEN }}
67+
publish_dir: ./target/doc

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
2+
![jason](./logo-no-bg.png)
3+
4+
[![GitHub stars](https://img.shields.io/github/stars/username/repo-name.svg)](https://github.com/username/repo-name/stargazers)
5+
[![License](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
6+
![Stars](https://img.shields.io/github/stars/roeegg2/funderberker)
7+
8+
19
# Funderberker
210

311
Funderberker is a WIP type 1 VMM written in Rust, with a focus on customizability and performance.
@@ -25,3 +33,4 @@ just help
2533
Contributions are more than welcome!
2634

2735
Funderberker is still in its infancy, so there are many things to do.
36+

logo-no-bg.png

192 KB
Loading

0 commit comments

Comments
 (0)