Skip to content

Commit

Permalink
ci: try to test no-stdness
Browse files Browse the repository at this point in the history
  • Loading branch information
joshstoik1 committed Oct 4, 2023
1 parent 55b5aa8 commit 27af179
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/nostd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: no_std

on:
push:
branches: []
pull_request:
branches: []

defaults:
run:
shell: bash

env:
CARGO_TERM_COLOR: always

jobs:
all:
name: All

strategy:
matrix:
target:
- x86_64-unknown-linux-gnu
include:
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest

runs-on: ${{matrix.os}}

env:
RUSTFLAGS: "-D warnings"

steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
with:
targets: ${{ matrix.target }}
- uses: taiki-e/install-action@v2
with:
tool: cargo-no-std-check

- name: Info
run: |
rustup --version
cargo --version
cargo clippy --version
- name: no_std
run: |
cargo no-std-check

0 comments on commit 27af179

Please sign in to comment.