Skip to content

Commit

Permalink
CI first try.
Browse files Browse the repository at this point in the history
  • Loading branch information
den-mentiei committed Jan 24, 2024
1 parent 73b0e00 commit 47ea731
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 2 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Sanity check

on:
push:
branches:
- main
pull_request:
types: [opened, reopened]
paths-ignore: ['**.md']

env:
CARGO_TERM_COLOR: always

jobs:
verify:
name: Check
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v4
- 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
8 changes: 6 additions & 2 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -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)]
Expand All @@ -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
Expand Down

0 comments on commit 47ea731

Please sign in to comment.