1
0
Fork 0
forked from wry/wry

docs: configure gh-pages deployment

This commit is contained in:
Julian Orth 2022-11-20 11:15:55 +01:00
parent cd47baa934
commit 0697911b7c
4 changed files with 78 additions and 3 deletions

28
.github/workflows/test.yml vendored Normal file
View 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