Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Bazel to build libpact_ffi.a #255

Open
wants to merge 38 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
317fd6f
feat: add bazel to build libpact_ffi.a
opicaud Feb 9, 2023
3a70bee
feat: add bazel to build shared library libpact_ffi.a
opicaud Feb 9, 2023
bf88643
feat: export libpact_ffi.a
opicaud Feb 11, 2023
5eed9f7
fix: add visibility public
opicaud Feb 11, 2023
7c5c2b6
fix: change filegroup
opicaud Feb 11, 2023
3dc27d3
feat: introduce repositories.bzl
opicaud Feb 11, 2023
b61ee2e
refactor: remove filegroup from root bazel build
opicaud Feb 13, 2023
dce9413
refactor: rename pact-reference2 as source
opicaud Feb 13, 2023
65d1c4c
refactor: reorder workspace
opicaud Feb 13, 2023
12043c0
chore: wip
opicaud Feb 16, 2023
c228af4
feat: introduce repositories.bzl
opicaud Feb 11, 2023
85db020
fix: feat deps pattern to use via external libpact_ffi.a
opicaud Feb 12, 2023
f48aaaf
refactor: rename pact-reference2 as source
opicaud Feb 13, 2023
b25b22f
refactor: reorder workspace
opicaud Feb 13, 2023
07e3b35
feat: add bazel to build shared library libpact_ffi.a
opicaud Feb 9, 2023
a819779
feat: provide a cargo bootstrap repository to build pact binaries
opicaud Feb 16, 2023
0190f46
chore: add commit sha to repositories.bzl
opicaud Feb 16, 2023
78daf7a
fix: add cc_library
opicaud Mar 2, 2023
2037bc6
feat: being able to build pact_verifier_cli
opicaud May 8, 2023
b3d83ea
chore(release): 1.0.0 [skip ci]
semantic-release-bot May 15, 2023
2882a38
build: provide a way to release
opicaud May 16, 2023
d6f56d5
fix: use cargo-bazel-lock local
opicaud May 16, 2023
55e16b4
fix: remove generator from crates_repository
opicaud May 16, 2023
176b30b
feat: being able to override cargo-bazel-lock name file
opicaud May 16, 2023
00c47b0
chore: upgrade rules_rust to 0.25.1
opicaud Jul 7, 2023
ffb4484
fix: tag onig to be able to reproduce deterministic build
opicaud Jul 7, 2023
d6d2f64
chore: update repos
opicaud Jul 7, 2023
7ca93a5
chore: update source
opicaud Jul 7, 2023
ec25400
fix: typo
opicaud Jul 8, 2023
8b6385a
fix: add shallow_since to reproduce build
opicaud Jul 8, 2023
0ccadaa
feat: migrate to bazel 6
opicaud Jul 14, 2023
648a61d
fix: use non overriden rust rules in MODULE
opicaud Aug 22, 2023
f73c83b
chore: disable bzlmod
opicaud Sep 6, 2023
bdf9d55
feat: update from pact-reference
opicaud Sep 7, 2023
4bdde5c
chore: remove .github
opicaud Sep 7, 2023
efde45b
fix: update MODULE version
opicaud Sep 8, 2023
18699af
feat: add toolchain pact_verifier_cli
opicaud Sep 27, 2023
c867cb9
fix: use macos cli instead of linux pact_verifier cli
opicaud Sep 28, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
48 changes: 0 additions & 48 deletions .github/workflows/build-ffi.yml

This file was deleted.

42 changes: 0 additions & 42 deletions .github/workflows/build.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/compatability-suite.yml

This file was deleted.

59 changes: 0 additions & 59 deletions .github/workflows/issue-comment-created.yml

This file was deleted.

81 changes: 0 additions & 81 deletions .github/workflows/release.yml

This file was deleted.

11 changes: 0 additions & 11 deletions .github/workflows/smartbear-issue-label-added.yml

This file was deleted.

15 changes: 0 additions & 15 deletions .github/workflows/triage.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/trigger_pact_docs_update.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,5 @@ php/composer.lock
pkg/
python/venv/
python/pacts

rust/bazel-*
10 changes: 10 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"branches": ["master"],
"extends": "semantic-release-monorepo",
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/git",
"@semantic-release/github"
]
}
2 changes: 2 additions & 0 deletions rust/.bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
common --registry=https://bcr.bazel.build
common --registry=https://raw.githubusercontent.com/matts1/bazel-central-registry/main
33 changes: 33 additions & 0 deletions rust/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
load("@rules_rust//cargo:defs.bzl", "cargo_bootstrap_repository")
load("//:toolchains.bzl", "pact_reference_toolchain")

filegroup(
name = "pact_verifier_cli",
srcs = ["//pact_verifier_cli"],
visibility = ["//visibility:public"],

)

pact_reference_toolchain(
name = "toolchain_impl",
pact_verifier_cli = ":pact_verifier_cli_toolchain",
)

genrule(
name = "pact_verifier_cli_toolchain",
outs = ["pact_verifier_cli_bin"],
srcs = ["@pact_verifier_cli_archive//file"],
cmd = "gzip -d - < $< > $@",
)

toolchain(
name = "toolchain",
toolchain = ":toolchain_impl",
toolchain_type = ":toolchain_type",
)

toolchain_type(
name = "toolchain_type",
visibility = ["//visibility:public"],
)