Update README - JPG file extension #150
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: Build | |
on: [ push ] | |
jobs: | |
Linux: | |
name: Build on Linux | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v3 | |
- name: Create Build Environment | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Build | |
working-directory: ${{github.workspace}} | |
shell: bash | |
run: cargo build | |
- name: Lint | |
working-directory: ${{github.workspace}} | |
shell: bash | |
run: | | |
rustup component add clippy | |
cargo clippy | |
MacOS: | |
name: Build on MacOS | |
runs-on: macos-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v3 | |
- name: Create Build Environment | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Build | |
working-directory: ${{github.workspace}} | |
shell: bash | |
run: cargo build | |
- name: Lint | |
working-directory: ${{github.workspace}} | |
shell: bash | |
run: | | |
rustup component add clippy | |
cargo clippy | |
Windows: | |
name: Build on Windows | |
runs-on: windows-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v3 | |
- name: Create Build Environment | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Build | |
shell: pwsh | |
run: cargo build | |
- name: Lint | |
shell: pwsh | |
run: | | |
rustup component add clippy | |
cargo clippy |