Skip to content

Commit

Permalink
Init
Browse files Browse the repository at this point in the history
  • Loading branch information
koarlchen committed Aug 26, 2024
0 parents commit ff4684c
Show file tree
Hide file tree
Showing 18 changed files with 2,298 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build]
target = "x86_64-unknown-linux-musl"
28 changes: 28 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Test

on:
pull_request:
push:
branches: [ "main" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Prerequisites
run: |
sudo apt install -y musl-tools musl-dev
rustup target add x86_64-unknown-linux-musl
- name: Run build
run: cargo build
- name: Run tests
run: cargo test
- name: Run fmt
run: cargo fmt --all -- --check
- name: Run clippy
run: cargo clippy --all-targets
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/target
TODO.md
Loading

0 comments on commit ff4684c

Please sign in to comment.