Skip to content

Commit 55a0562

Browse files
committed
ci/cd: only test if pushed to main or master
Signed-off-by: Mimoja <git@mimoja.de>
1 parent 6a9f3cd commit 55a0562

1 file changed

Lines changed: 9 additions & 13 deletions

File tree

.github/workflows/cicd.yml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ name: CICD
44

55
env:
66
PROJECT_NAME: sqlite_zstd
7-
#PROJECT_DESC: "sqlite ♥ zstd"
8-
#PROJECT_AUTH: "bootandy"
9-
#RUST_MIN_SRV: "1.31.0"
10-
11-
on: [push, pull_request]
7+
on:
8+
push:
9+
branches:
10+
- main
11+
- master
12+
pull_request:
1213

1314
jobs:
1415
style:
@@ -65,21 +66,16 @@ jobs:
6566
# { os, target, cargo-options, features, use-cross, toolchain }
6667
- {
6768
os: ubuntu-latest,
68-
target: arm-unknown-linux-gnueabihf,
69+
target: x86_64-unknown-linux-gnu,
6970
use-cross: use-cross,
7071
features: build_extension,
7172
}
7273
- {
73-
os: ubuntu-18.04,
74-
target: x86_64-unknown-linux-gnu,
74+
os: ubuntu-latest,
75+
target: arm-unknown-linux-gnueabihf,
7576
use-cross: use-cross,
7677
features: build_extension,
7778
}
78-
#- {
79-
# os: ubuntu-18.04,
80-
# target: x86_64-unknown-linux-musl,
81-
# use-cross: use-cross,
82-
# }
8379
- {
8480
os: macos-latest,
8581
target: x86_64-apple-darwin,

0 commit comments

Comments
 (0)