Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
cs50victor committed Jan 29, 2024
0 parents commit b103c60
Show file tree
Hide file tree
Showing 14 changed files with 3,953 additions and 0 deletions.
Binary file added .DS_Store
Binary file not shown.
40 changes: 40 additions & 0 deletions .github/workflows/ci-rs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI-RS

on:
push:
workflow_dispatch:

env:
CARGO_TERM_COLOR: always
CARGO_TERM_VERBOSE: true
RUST_BACKTRACE: 1


jobs:
ci-rs:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
rust-toolchain:
- nightly

steps:
- name: Get source code
uses: actions/checkout@v3

- name: Setup ${{ matrix.rust-toolchain }} rust toolchain with caching
uses: brndnmtthws/rust-action@v1
with:
toolchain: ${{ matrix.rust-toolchain }}
components: rustfmt, clippy
enable-sccache: "true"

- name: Build
run: cargo build --release

- name: Test
run: cargo test --release

- name: Lint
run: cargo fmt --all -- --check && cargo clippy --verbose -- -D warnings
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/target
/out
Loading

0 comments on commit b103c60

Please sign in to comment.