87
87
pull-latest-cross :
88
88
#!/usr/bin/env bash
89
89
docker pull ghcr.io/ cross-rs/ aarch64 -unknown-linux-musl:main
90
+ docker pull ghcr.io/ cross-rs/ x86 _64 -unknown-linux-musl:main
90
91
91
92
92
93
# clippy with sqlite features
@@ -114,17 +115,14 @@ migrate-postgres:
114
115
DATABASE_URL={{ db_url_postgres}} sqlx migrate run --source migrations/ postgres
115
116
116
117
117
- # runs the application with sqlite feature with musl target
118
+ # runs the application with sqlite feature
118
119
run-sqlite :
119
- DATABASE_URL={{ db_url_sqlite}} cargo run --target x86 _64 -unknown-linux-musl --features sqlite
120
-
121
- # runs the application with sqlite feature with native target
122
- run-sqlite-native :
123
120
DATABASE_URL={{ db_url_sqlite}} cargo run --features sqlite
124
121
125
- # runs the application with postgres feature with musl target
122
+
123
+ # runs the application with postgres feature
126
124
run-postgres :
127
- DATABASE_URL={{ db_url_postgres}} cargo run --target x8 6 _6 4 -unknown-linux-musl
125
+ DATABASE_URL={{ db_url_postgres}} cargo run
128
126
129
127
130
128
# runs the UI in development mode
@@ -261,9 +259,8 @@ build-sqlite: test-sqlite
261
259
262
260
cargo clean
263
261
264
- # allow clippy warnings for v0.20.0 because of intentionally using deprecated functions
265
- #cargo clippy --features sqlite -- -D warnings
266
- cargo build --release --target x86 _64 -unknown-linux-musl --features sqlite
262
+ cargo clippy --features sqlite -- -D warnings
263
+ cross build --release --target x86 _64 -unknown-linux-musl --features sqlite
267
264
cp target/ x86 _64 -unknown-linux-musl/ release/ rauthy out/ rauthy-sqlite-amd64
268
265
269
266
cargo clean
@@ -278,9 +275,8 @@ build-postgres: test-postgres
278
275
279
276
cargo clean
280
277
281
- # allow clippy warnings for v0.20.0 because of intentionally using deprecated functions
282
- #cargo clippy -- -D warnings
283
- cargo build --release --target x86 _64 -unknown-linux-musl
278
+ cargo clippy -- -D warnings
279
+ cross build --release --target x86 _64 -unknown-linux-musl
284
280
cp target/ x86 _64 -unknown-linux-musl/ release/ rauthy out/ rauthy-postgres-amd64
285
281
286
282
cargo clean
0 commit comments