Skip to content

Commit

Permalink
remove gitbutler-git from builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Qix- committed Feb 29, 2024
1 parent 6d51b5e commit 5c88e3d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 425 deletions.
37 changes: 1 addition & 36 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
rust: ${{ steps.filter.outputs.rust }}
gitbutler-app: ${{ steps.filter.outputs.gitbutler-app }}
gitbutler-core: ${{ steps.filter.outputs.gitbutler-core }}
gitbutler-git: ${{ steps.filter.outputs.gitbutler-git }}
gitbutler-changeset: ${{ steps.filter.outputs.gitbutler-changeset }}
steps:
- uses: actions/checkout@v4
Expand All @@ -38,9 +37,6 @@ jobs:
gitbutler-core:
- *rust
- 'gitbutler-core/**'
gitbutler-git:
- *rust
- 'gitbutler-git/**'
gitbutler-changeset:
- *rust
- 'gitbutler-changeset/**'
Expand Down Expand Up @@ -95,7 +91,7 @@ jobs:
- uses: ./.github/actions/init-env-rust
# TODO(qix-): we have to exclude the app here for now because for some
# TODO(qix-): reason it doesn't build with the docs feature enabled.
- run: cargo doc --no-deps --all-features --document-private-items -p gitbutler-core -p gitbutler-git -p gitbutler-changeset
- run: cargo doc --no-deps --all-features --document-private-items -p gitbutler-core -p gitbutler-changeset
env:
RUSTDOCFLAGS: -Dwarnings

Expand All @@ -121,36 +117,6 @@ jobs:
features: ${{ toJson(matrix.features) }}
action: ${{ matrix.action }}

check-gitbutler-git:
needs: [changes, rust-init]
if: ${{ needs.changes.outputs.gitbutler-git == 'true' }}
runs-on: ubuntu-latest
container:
image: ghcr.io/gitbutlerapp/ci-base-image:latest
strategy:
matrix:
action:
- test
- check
- check-tests
features:
- ''
- '*'
- []
- [cli]
- [cli, tokio]
- [serde]
- [git2]
steps:
- uses: actions/checkout@v4
# FIXME(qix-): figure out a way to make these build automatically with tests
- run: cargo build --locked -p gitbutler-git --bin gitbutler-git-askpass --bin gitbutler-git-setsid
- uses: ./.github/actions/check-crate
with:
crate: gitbutler-git
features: ${{ toJson(matrix.features) }}
action: ${{ matrix.action }}

check-gitbutler-changeset:
needs: [changes, rust-init]
if: ${{ needs.changes.outputs.gitbutler-changeset == 'true' }}
Expand Down Expand Up @@ -208,7 +174,6 @@ jobs:
needs:
- changes
- check-gitbutler-app
- check-gitbutler-git
- check-gitbutler-changeset
- check-gitbutler-core
runs-on: ubuntu-latest
Expand Down
Loading

0 comments on commit 5c88e3d

Please sign in to comment.