File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 76
76
--manifest-path sqlx-core/Cargo.toml
77
77
--features offline,all-databases,all-types
78
78
79
+ cli :
80
+ name : CLI Binaries
81
+ runs-on : ${{ matrix.os }}
82
+
83
+ strategy :
84
+ matrix :
85
+ os : [ubuntu-latest, windows-latest, macOS-latest]
86
+ include :
87
+ - os : ubuntu-latest
88
+ target : x86_64-unknown-linux-musl
89
+ args : --features openssl-vendored
90
+ bin : target/debug/cargo-sqlx
91
+ - os : windows-latest
92
+ target : x86_64-pc-windows-msvc
93
+ bin : target/debug/cargo-sqlx.exe
94
+ - os : macOS-latest
95
+ target : x86_64-apple-darwin
96
+ bin : target/debug/cargo-sqlx
97
+
98
+ steps :
99
+ - uses : actions/checkout@v2
100
+
101
+ - uses : actions-rs/toolchain@v1
102
+ with :
103
+ profile : minimal
104
+ toolchain : stable
105
+ target : ${{ matrix.target }}
106
+ override : true
107
+
108
+ - uses : actions-rs/cargo@v1
109
+ with :
110
+ command : build
111
+ args : --manifest-path sqlx-cli/Cargo.toml --bin cargo-sqlx ${{ matrix.args }}
112
+
113
+ - uses : actions/upload-artifact@v2
114
+ with :
115
+ name : cargo-sqlx-${{ matrix.target }}
116
+ path : ${{ matrix.bin }}
117
+
79
118
sqlite :
80
119
name : SQLite
81
120
runs-on : ubuntu-20.04
You can’t perform that action at this time.
0 commit comments