Skip to content

Commit

Permalink
Project layout and CI (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
QtKaii authored Jan 22, 2024
2 parents a81a25b + b265ab2 commit 263be1b
Show file tree
Hide file tree
Showing 14 changed files with 1,964 additions and 18 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/pr_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: pr_check

on:
workflow_dispatch:
push:
pull_request:
branches: [ master ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up Rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable

- name: Install cargo-make from crates.io
uses: baptiste0928/cargo-install@v2
with:
crate: cargo-make

- name: Install trunk from crates.io
uses: baptiste0928/cargo-install@v2
with:
crate: trunk

- name: Install wasm-bindgen-cli from crates.io
uses: baptiste0928/cargo-install@v2
with:
crate: wasm-bindgen-cli

- name: Run CI
uses: actions-rs/cargo@v1
with:
command: make
args: ci
Loading

0 comments on commit 263be1b

Please sign in to comment.