Skip to content

Commit

Permalink
ci/cd: only test if pushed to main or master
Browse files Browse the repository at this point in the history
Signed-off-by: Mimoja <[email protected]>
  • Loading branch information
Mimoja committed Jul 6, 2024
1 parent 6a9f3cd commit 4c191d4
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ name: CICD

env:
PROJECT_NAME: sqlite_zstd
#PROJECT_DESC: "sqlite ♥ zstd"
#PROJECT_AUTH: "bootandy"
#RUST_MIN_SRV: "1.31.0"

on: [push, pull_request]
on:
push:
branches:
- main
- master
pull_request:

jobs:
style:
Expand Down Expand Up @@ -65,21 +66,15 @@ jobs:
# { os, target, cargo-options, features, use-cross, toolchain }
- {
os: ubuntu-latest,
target: arm-unknown-linux-gnueabihf,
use-cross: use-cross,
target: x86_64-unknown-linux-gnu,
features: build_extension,
}
- {
os: ubuntu-18.04,
target: x86_64-unknown-linux-gnu,
os: ubuntu-latest,
target: arm-unknown-linux-gnueabihf,
use-cross: use-cross,
features: build_extension,
}
#- {
# os: ubuntu-18.04,
# target: x86_64-unknown-linux-musl,
# use-cross: use-cross,
# }
- {
os: macos-latest,
target: x86_64-apple-darwin,
Expand Down

0 comments on commit 4c191d4

Please sign in to comment.