8000 Merge pull request #5 from sgued/no-extern-static · fengyc/natpmp@b8e5d1c · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Merge pull request #5 from sgued/no-extern-static #21

Merge pull request #5 from sgued/no-extern-static

Merge pull request #5 from sgued/no-extern-static #21

Workflow file for this run

name: Main
on:
push:
branches: [master]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
# Checkout
- name: Checkout
uses: actions/checkout@v2
# Rust cache
- name: Rust cargo cache
uses: actions/cache@v1
env:
cache-name: cache-rust-cargo
with:
path: |
~/.cargo
target
key: ${{ runner.os }}-build-${{ env.cache-name }}
# Rust toolchain
- name: Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
# Rust cargo
- run: |
cargo build --verbose --all
cargo test --verbose test::test_ffi
cargo test --verbose test::test_natpmp
cargo doc --verbose
# Latest build
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
draft: false
title: "Development Build"
build-windows:
runs-on: windows-latest
steps:
# Checkout
- name: Checkout
uses: actions/checkout@v2
# Rust cache
- name: Rust cargo cache
uses: actions/cache@v1
env:
cache-name: cache-rust-cargo
with:
path: |
~/.cargo
target
key: ${{ runner.os }}-build-${{ env.cache-name }}
# Rust toolchain
- name: Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
# Rust cargo
- run: |
cargo build --verbose --all
cargo test --verbose test::test_ffi
cargo test --verbose test::test_natpmp
cargo doc --verbose
build-macos:
runs-on: macos-latest
steps:
# Checkout
- name: Checkout
uses: actions/checkout@v2
# Rust cache
- name: Rust cargo cache
uses: actions/cache@v1
env:
cache-name: cache-rust-cargo
with:
path: |
~/.cargo
target
key: ${{ runner.os }}-build-${{ env.cache-name }}
# Rust toolchain
- name: Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
# Rust cargo
- run: |
cargo build --verbose --all
cargo test --verbose test::test_ffi
cargo test --verbose test::test_natpmp
cargo doc --verbose
0