mirror of
https://github.com/DNSCrypt/encrypted-dns-server.git
synced 2026-07-24 11:54:54 +02:00
28 lines
649 B
YAML
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 }}
|