-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: added conditional for windows build directories (#2)
* docs: Added shields * fix: added conditional for windows build directories * docs: clarified documentation * chore: linting
- Loading branch information
1 parent
bed0ba7
commit a4238d8
Showing
3 changed files
with
33 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,13 +42,32 @@ jobs: | |
- name: Format Check | ||
run: cargo fmt -- --check --verbose | ||
- name: Lint Check | ||
run: cargo clippy --verbose | ||
run: cargo clippy -p rustybox -- --verbose -D warnings | ||
- name: Test | ||
run: cargo test --verbose | ||
- name: Build Release | ||
run: cargo build --release --verbose | ||
- name: Upload Artifact | ||
- name: Upload Artifact (ubuntu) | ||
if: ${{ matrix.build == 'ubuntu' }} | ||
uses: actions/[email protected] | ||
with: | ||
name: rustybox-${{ matrix.build }} | ||
path: target/release/rustybox | ||
- name: Upload Artifact (macos) | ||
if: ${{ matrix.build == 'macos' }} | ||
uses: actions/[email protected] | ||
with: | ||
name: rustybox-${{ matrix.build }} | ||
path: target/release/rustybox | ||
- name: Upload Artifact (win32) | ||
if: ${{ matrix.build == 'win32' }} | ||
uses: actions/[email protected] | ||
with: | ||
name: rustybox-${{ matrix.build }} | ||
path: target\release\rustybox.exe | ||
- name: Upload Artifact (win64) | ||
if: ${{ matrix.build == 'win64' }} | ||
uses: actions/[email protected] | ||
with: | ||
name: rustybox-${{ matrix.build }} | ||
path: target\release\rustybox.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
# rustybox | ||
Mostly a sandbox for learning rust. | ||
Mostly a sandbox for learning rust. Currently produces a console program that allows a player to move around a box with arrow keys. | ||
|
||
Currently produces a console program that allows a player to move around a box with arrow keys. | ||
[![Build status](https://img.shields.io/github/workflow/status/pbellchambers/rustybox/CI/main)](https://github.com/pbellchambers/rustybox/actions) | ||
[![Downloads](https://img.shields.io/github/downloads/pbellchambers/rustybox/total)](https://github.com/pbellchambers/rustybox/releases) | ||
![License](https://img.shields.io/github/license/pbellchambers/rustybox?color=blue) | ||
|
||
|
||
## Usage | ||
Run `rustybox` from the command line. | ||
|
||
Use arrow keys to move around. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters