Skip to content

Commit

Permalink
Add cargo-axplat to generate platform package template
Browse files Browse the repository at this point in the history
  • Loading branch information
equation314 committed Jan 11, 2025
1 parent df1a9ca commit 4f6db90
Show file tree
Hide file tree
Showing 27 changed files with 943 additions and 20 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,25 @@ jobs:
- name: Check code format
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy --target ${{ matrix.targets }} --all-features -- -A clippy::new_without_default
run: cargo clippy --target ${{ matrix.targets }} --all-features --workspace --exclude cargo-axplat
- name: Build
run: cargo build --target ${{ matrix.targets }} --all-features
run: cargo build --target ${{ matrix.targets }} --all-features --workspace --exclude cargo-axplat
- name: Unit test
if: ${{ matrix.targets == 'x86_64-unknown-linux-gnu' }}
run: cargo test --target ${{ matrix.targets }} -- --nocapture

cargo-axplat:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- name: Clippy
run: cargo clippy -p cargo-axplat
- name: Build
run: cargo build -p cargo-axplat

doc:
runs-on: ubuntu-latest
strategy:
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/target
/.vscode
.DS_Store
Cargo.lock
Loading

0 comments on commit 4f6db90

Please sign in to comment.