/ #17
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: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build_win: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: cargo build --release --verbose | |
- name: Run tests | |
run: cd target & cd release & dir | |
- name: Upload a Build Artifact | |
uses: actions/[email protected] | |
with: | |
# Artifact name | |
name: WINDOWS | |
# A file, directory or wildcard pattern that describes what to upload | |
path: target/release/veber.exe | |
build_macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: cargo build --release --verbose | |
- name: Run tests | |
run: cd target && cd release && ls | |
- name: Upload a Build Artifact | |
uses: actions/[email protected] | |
with: | |
# Artifact name | |
name: MacOS | |
# A file, directory or wildcard pattern that describes what to upload | |
path: target/release/veber | |
build_linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: cargo build --release --verbose | |
- name: Run tests | |
run: cd target && cd release && ls | |
- name: Upload a Build Artifact | |
uses: actions/[email protected] | |
with: | |
# Artifact name | |
name: Ubuntu | |
# A file, directory or wildcard pattern that describes what to upload | |
path: target/release/veber |