docs: configure gh-pages deployment
This commit is contained in:
parent
cd47baa934
commit
0697911b7c
4 changed files with 78 additions and 3 deletions
28
.github/workflows/test.yml
vendored
Normal file
28
.github/workflows/test.yml
vendored
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
name: test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Show env
|
||||
run: |
|
||||
uname -a
|
||||
ldd --version
|
||||
- name: Install
|
||||
run: |
|
||||
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
|
||||
rustup toolchain install nightly --allow-downgrade -c rustfmt
|
||||
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
||||
- name: Test
|
||||
run: cargo +nightly test
|
||||
Loading…
Add table
Add a link
Reference in a new issue