mirror of
https://github.com/jgoerzen/xbnet.git
synced 2025-01-03 12:08:21 -04:00
tweak
This commit is contained in:
parent
f977267300
commit
5d0971ebc0
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -4,6 +4,7 @@ name: build
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
tags: '*'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
|
||||||
@ -16,7 +17,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, ubuntu-16.04]
|
os: [ubuntu-18.04]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -24,11 +25,12 @@ jobs:
|
|||||||
run: sudo apt-get install libudev-dev
|
run: sudo apt-get install libudev-dev
|
||||||
- name: Build for ${{ matrix.os }}
|
- name: Build for ${{ matrix.os }}
|
||||||
run: cargo build --verbose --release
|
run: cargo build --verbose --release
|
||||||
# - name: Run tests
|
- name: Run tests for ${{ matrix.os }}
|
||||||
# run: cargo test --verbose
|
run: cargo test --verbose
|
||||||
- name: Create Release for ${{ matrix.os }}
|
- name: Create Release for ${{ matrix.os }}
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1
|
||||||
|
continue-on-error: true
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
20
.github/workflows/tests.yml
vendored
20
.github/workflows/tests.yml
vendored
@ -1,20 +0,0 @@
|
|||||||
name: tests
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ master ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ master ]
|
|
||||||
|
|
||||||
env:
|
|
||||||
CARGO_TERM_COLOR: always
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
test:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Run tests
|
|
||||||
run: RUST_BACKTRACE=full cargo test --verbose
|
|
Loading…
Reference in New Issue
Block a user