Skip to content

Commit 4c191d4

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

1 file changed

Lines changed: 9 additions & 14 deletions

File tree

.github/workflows/cicd.yml

Lines changed: 9 additions & 14 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,15 @@ jobs:
6566
# { os, target, cargo-options, features, use-cross, toolchain }
6667
- {
6768
os: ubuntu-latest,
68-
target: arm-unknown-linux-gnueabihf,
69-
use-cross: use-cross,
69+
target: x86_64-unknown-linux-gnu,
7070
features: build_extension,
7171
}
7272
- {
73-
os: ubuntu-18.04,
74-
target: x86_64-unknown-linux-gnu,
73+
os: ubuntu-latest,
74+
target: arm-unknown-linux-gnueabihf,
7575
use-cross: use-cross,
7676
features: build_extension,
7777
}
78-
#- {
79-
# os: ubuntu-18.04,
80-
# target: x86_64-unknown-linux-musl,
81-
# use-cross: use-cross,
82-
# }
8378
- {
8479
os: macos-latest,
8580
target: x86_64-apple-darwin,

0 commit comments

Comments
 (0)