Skip to content

Commit f8028cd

Browse files
add musl targets (#151)
* add musl test suites * add musl targets to cd * test new targets with ci * remove tested publish * clippy * remove test publish
1 parent db11199 commit f8028cd

File tree

5 files changed

+24
-1
lines changed

5 files changed

+24
-1
lines changed

.github/workflows/cd.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,18 @@ jobs:
6666
use-cross: true
6767
binary-name: rainfrog
6868
features: termux --no-default-features
69+
- os: ubuntu-latest
70+
target: x86_64-unknown-linux-musl
71+
binary-postfix: ""
72+
use-cross: true
73+
binary-name: rainfrog
74+
features: default
75+
- os: ubuntu-latest
76+
target: aarch64-unknown-linux-musl
77+
binary-postfix: ""
78+
use-cross: true
79+
binary-name: rainfrog
80+
features: default
6981

7082
steps:
7183
- name: Checkout repository

.github/workflows/ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,18 @@ jobs:
3030
os-name: android
3131
target: aarch64-linux-android
3232
features: termux --no-default-features
33-
- os: ubuntu-latest
33+
- os: ubuntu-latest
3434
os-name: ish
3535
target: i686-unknown-linux-musl
3636
features: default
37+
- os: ubuntu-latest
38+
os-name: aarch64-musl
39+
target: aarch64-unknown-linux-musl
40+
features: default
41+
- os: ubuntu-latest
42+
os-name: x86_64-musl
43+
target: x86_64-unknown-linux-musl
44+
features: default
3745

3846
steps:
3947
- name: Checkout repository

src/app.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ use crate::{
5252
ui::center,
5353
};
5454

55+
#[allow(clippy::large_enum_variant)]
5556
pub enum DbTask<'a, DB: sqlx::Database> {
5657
Query(tokio::task::JoinHandle<QueryResultsWithMetadata>),
5758
TxStart(tokio::task::JoinHandle<(QueryResultsWithMetadata, Transaction<'a, DB>)>),

src/components/data.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ use crate::{
2828
utils::get_export_dir,
2929
};
3030

31+
#[allow(clippy::large_enum_variant)]
3132
#[derive(Default)]
3233
pub enum DataState<'a> {
3334
#[default]

src/popups/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ pub mod exporting;
1717
// all input, we have a payload representing when a popup is exited
1818
// and some action by the main thread is desired. easier than making
1919
// it work with Actions for now.
20+
#[allow(clippy::large_enum_variant)]
2021
pub enum PopUpPayload {
2122
SetDataTable(Option<Result<Rows, DbError>>, Option<Statement>),
2223
ConfirmQuery(String),

0 commit comments

Comments
 (0)