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:
parent
38ace07e83
commit
d9ac5d83de
26
.github/workflows/rust.yml
vendored
26
.github/workflows/rust.yml
vendored
@ -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
|
||||
|
@ -3,7 +3,6 @@ members = [
|
||||
".",
|
||||
"sea-orm-macros",
|
||||
"sea-orm-codegen",
|
||||
"sea-orm-cli",
|
||||
"examples/sqlx",
|
||||
]
|
||||
|
||||
|
@ -1,3 +1,6 @@
|
||||
[workspace]
|
||||
# A separate workspace for sea-orm-cli
|
||||
|
||||
[package]
|
||||
name = "sea-orm-cli"
|
||||
version = "0.1.2"
|
||||
|
Loading…
x
Reference in New Issue
Block a user