Merge pull request #292 from orhun/chore/update_cargo_lock2 #654
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'install test' | |
on: | |
push: | |
branches-ignore: 'main' | |
paths-ignore: | |
- '*.md' | |
pull_request: | |
types: [opened, edited, reopened] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
ubuntu-install: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install | |
run: | | |
cargo install --locked --path . | |
macos-install: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install | |
run: | | |
cargo install --locked --path . | |
archlinux-install: | |
runs-on: ubuntu-latest | |
container: | |
image: archlinux:base-devel | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install | |
run: | | |
pacman -Syu --noconfirm | |
pacman -S rustup --noconfirm | |
rustup install stable | |
rustup default stable | |
cargo install --locked --path . | |
windows-install: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install latest rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
default: true | |
override: true | |
- name: Install | |
run: cargo install --locked --path . |