Skip to content

Workflow file for this run

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