IBConverter/.github/workflows/build.yml

54 lines
1.3 KiB
YAML
Raw Normal View History

2022-05-14 06:10:05 +00:00
name: Build
on: [ push ]
2022-05-14 06:06:31 +00:00
jobs:
2022-05-14 23:14:54 +00:00
build_windows:
name: IBConverter Windows
2022-05-14 23:09:56 +00:00
runs-on: windows-latest
2022-05-14 06:06:31 +00:00
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: build
2022-05-14 06:10:05 +00:00
args: --release --all-features
2022-05-14 06:18:06 +00:00
- uses: actions/upload-artifact@v3
with:
2022-05-14 23:14:54 +00:00
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
2022-05-14 23:31:31 +00:00
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