IBConverter/.github/workflows/build.yml

54 lines
1.3 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-artifact@v3
with:
name: IBConverter-Windows
path: target/release/IBConverter.exe
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