1
1
mirror of https://github.com/DNSCrypt/encrypted-dns-server.git synced 2026-07-24 05:44:48 +02:00
Files
encrypted-dns-server/.github/workflows/test.yml
2026-06-20 20:03:32 +02:00

28 lines
649 B
YAML

name: Test
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
- os: windows-latest
target: x86_64-pc-windows-msvc
steps:
- uses: actions/checkout@v5
- uses: dtolnay/rust-toolchain@nightly
with:
targets: ${{ matrix.target }}
- name: Check Cargo availability
run: cargo --version
- name: Check Rustup default toolchain
run: rustup default | grep nightly
- name: Test
run: |
cargo test --target ${{ matrix.target }}