IBConverter/.github/workflows/build.yml
2022-05-14 18:47:29 -05:00

56 lines
1.4 KiB
YAML

name: Build
on: [ push ]
jobs:
build_windows:
name: IBConverter Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: build
args: --release --all-features
- uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.build }}
asset_path: target/release/IBConverter.exe
asset_name: IBConverter.exe
asset_content_type: application/octet-stream
build_macos:
name: IBConverter Mac
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: build
args: --release --all-features
- uses: actions/upload-artifact@v3
with:
name: IBConverter-macOS
path: target/release/IBConverter
build_linux:
name: IBConverter Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: build
args: --release --all-features
- uses: actions/upload-artifact@v3
with:
name: IBConverter-Linux
path: target/release/IBConverter