From 8e3b9364cf9a23f96c299eb7c59e438925cb0dcb Mon Sep 17 00:00:00 2001 From: Denys Mentiei Date: Wed, 24 Jan 2024 20:32:11 +0100 Subject: [PATCH] CI first try. --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ TODO.md | 8 ++++++-- 2 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..6736662 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: Sanity check + +on: + push: + branches: [main] + pull_request: + types: [opened, reopened] + path: ['!**.md'] + +env: + CARGO_TERM_COLOR: always + +jobs: + check: + name: Check + runs-on: ubuntu-latest + strategy: + matrix: [stable, nightly] + steps: + - uses: actions/checkout@v3 + - run: rustup update ${{ matrix.toolchain }} && rustup default && ${{ matrix.toolchain }} + - run: cargo check --verbose + - run: cargo check --verbose -F enabled -F attributes + - run: cargo test + - run: cargo test -F enabled -F attributes + - run: cargo build --examples + - run: cargo build --examples -F instrumented diff --git a/TODO.md b/TODO.md index a6302bb..a573b12 100644 --- a/TODO.md +++ b/TODO.md @@ -1,5 +1,9 @@ # TODO +- [ ] ci on github +- [ ] xtasks for tests/deploy +- [ ] add examples readme and comment them more +- [ ] add messages example - [ ] auto-function proc-macro attributes: - [x] #[instrument] - [ ] #[instrument(name)] @@ -10,8 +14,8 @@ - [x] write nice error messages :Errors - [ ] proc-macro attribute over impl to mark every method - [ ] ability to skip methods -- [ ] add messages example -- [ ] add proc-macro attribue tests +- [ ] support `plot!` in expr pos +- [ ] add proc-macro attribute tests - [ ] callstacks! depth is at most 62 - [ ] what's up with locks & C API - [ ] what's up with alloc & free, named overloads