You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
name: Rust
|
|
|
|
|
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@master
|
|
|
|
- uses: hecrj/setup-rust-action@master
|
|
|
|
with:
|
|
|
|
rust-version: nightly
|
|
|
|
- name: Check Cargo availability
|
|
|
|
run: cargo --version
|
|
|
|
- name: Check Rustup default toolchain
|
|
|
|
run: rustup default | grep nightly
|
|
|
|
- name: Build
|
|
|
|
run: |
|
|
|
|
cargo build --release
|
|
|
|
mkdir encrypted-dns
|
|
|
|
mv target/release/encrypted-dns encrypted-dns/
|
|
|
|
strip encrypted-dns/encrypted-dns
|
|
|
|
cp README.md encrypted-dns.toml encrypted-dns/
|
|
|
|
- uses: actions/upload-artifact@master
|
|
|
|
with:
|
|
|
|
name: encrypted-dns-linux-x86_64
|
|
|
|
path: encrypted-dns
|