mirror of
https://github.com/DNSCrypt/doh-server.git
synced 2025-04-03 04:57:37 +03:00
23 lines
606 B
YAML
23 lines
606 B
YAML
name: Rust
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- uses: hecrj/setup-rust-action@master
|
|
with:
|
|
rust-version: stable
|
|
- name: Check Cargo availability
|
|
run: cargo --version
|
|
- name: Check Rustup default toolchain
|
|
run: rustup default | grep stable
|
|
- name: Build without default features
|
|
run: |
|
|
env RUSTFLAGS="-C link-arg=-s" cargo check --no-default-features
|
|
- name: Build with default features
|
|
run: |
|
|
env RUSTFLAGS="-C link-arg=-s" cargo check
|