Fix compile errors on different runtime (#84)

* Fix compile errors on different runtime

* Split sea-orm-cli into separate workspace

* Hotfix
This commit is contained in:
Billy Chan 2021-08-14 18:43:47 +08:00 committed by GitHub
parent 38ace07e83
commit d9ac5d83de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 3 deletions

View File

@ -30,7 +30,8 @@ jobs:
command: build
args: >
--all
--features default
--exclude 'sea-orm-example-*'
--features default,runtime-${{ matrix.runtime }}
- uses: actions-rs/cargo@v1
with:
@ -38,7 +39,28 @@ jobs:
args: >
--all
--exclude 'sea-orm-example-*'
--features default
--features default,runtime-${{ matrix.runtime }}
cli:
name: CLI
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: install
args: >
--path sea-orm-cli
sqlite:
name: SQLite

View File

@ -3,7 +3,6 @@ members = [
".",
"sea-orm-macros",
"sea-orm-codegen",
"sea-orm-cli",
"examples/sqlx",
]

View File

@ -1,3 +1,6 @@
[workspace]
# A separate workspace for sea-orm-cli
[package]
name = "sea-orm-cli"
version = "0.1.2"