mirror of https://github.com/jgoerzen/xbnet.git
tweak
This commit is contained in:
parent
f977267300
commit
5d0971ebc0
|
@ -4,6 +4,7 @@ name: build
|
|||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
tags: '*'
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
|
@ -16,7 +17,7 @@ jobs:
|
|||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, ubuntu-16.04]
|
||||
os: [ubuntu-18.04]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -24,11 +25,12 @@ jobs:
|
|||
run: sudo apt-get install libudev-dev
|
||||
- name: Build for ${{ matrix.os }}
|
||||
run: cargo build --verbose --release
|
||||
# - name: Run tests
|
||||
# run: cargo test --verbose
|
||||
- name: Run tests for ${{ matrix.os }}
|
||||
run: cargo test --verbose
|
||||
- name: Create Release for ${{ matrix.os }}
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
continue-on-error: true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
|
|
|
@ -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