Merge pull request #109 from mobilecoinfoundation/no-std-set-hostname #289
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
branches: | |
- mc-develop | |
push: | |
branches: | |
- mc-develop | |
env: | |
RUST_BACKTRACE: full | |
CARGO_INCREMENTAL: 0 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly-2023-01-22 | |
target: x86_64-unknown-linux-gnu | |
override: true | |
profile: minimal | |
- run: sudo apt update && sudo apt install cmake | |
- run: cargo build --target x86_64-unknown-linux-gnu --release --no-default-features --features="no_std_deps,aesni,force_aesni_support,rdrand,custom_threading" | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly-2023-01-22 | |
target: x86_64-unknown-linux-gnu | |
override: true | |
profile: minimal | |
- run: sudo apt update && sudo apt install cmake | |
- run: cargo test --target x86_64-unknown-linux-gnu --release --no-default-features --features="no_std_deps,aesni,force_aesni_support,rdrand,custom_threading" |