diff options
author | Kyohei Uto <kyoheiu@outlook.com> | 2022-04-03 16:27:40 +0900 |
---|---|---|
committer | Kyohei Uto <kyoheiu@outlook.com> | 2022-04-03 16:27:40 +0900 |
commit | f3b0a1fb0659f88ff5bd8fa8607495e98dd7d0ee (patch) | |
tree | c89cfbbdb0bced38e9a40d9ff80de9f5a0b66dee /.github | |
parent | b07e7ec26fc0c878f411c81691ffa0fb9e963572 (diff) |
Add pr test
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/pr_test.yml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/.github/workflows/pr_test.yml b/.github/workflows/pr_test.yml new file mode 100644 index 0000000..4b538bc --- /dev/null +++ b/.github/workflows/pr_test.yml @@ -0,0 +1,37 @@ +name: 'pull request install test' + +on: + pull_request: + types: [opened, reopened] + +env: + CARGO_TERM_COLOR: always + +jobs: + ubuntu-install: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install + run: | + cargo install --path . + macos-install: + runs-on: macos-latest + steps: + - uses: actions/checkout@v2 + - name: Install + run: | + cargo install --path . + archlinux-install: + runs-on: ubuntu-latest + container: + image: archlinux:base-devel + steps: + - uses: actions/checkout@v2 + - name: Install + run: | + pacman -Syu --noconfirm + pacman -S rustup --noconfirm + rustup install stable + rustup default stable + cargo install --path . |