python3 -m pip install pyGithub
- name: store to latest
- if: github.ref == 'refs/heads/master'
+ if: github.ref == 'refs/heads/main'
shell: 'python3 {0}'
env:
GITHUB_TOKEN: ${{ inputs.github-token }}
build-dir: ${{ steps.configure-and-build.outputs.shared-build-dir }}
- name: Add binary to latest and release
- if: matrix.binary-name && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/'))
+ if: matrix.binary-name && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/'))
uses: ./.github/actions/store-binary
with:
binary: ${{ steps.configure-and-build.outputs.static-build-dir }}/bin/cvc5${{ matrix.binary-ext }}
uses: adRise/update-pr-branch@v0.5.1
with:
token: ${{ secrets.ACTION_USER_TOKEN }}
- base: 'master'
+ base: 'main'
required_approval_count: 1
linkchecker --check-extern docs-new/index.html
# This workflow is run for commits in PRs (from branches in forks), commits
-# (from branches in main repo, usually master) and tags. Unfortunately, there
-# are only two properties in the github context that can be used here:
+# (from branches in main repo, usually main branch) and tags. Unfortunately,
+# there are only two properties in the github context that can be used here:
# - workflow_run.event is "pull_request" for PRs and "push" otherwise
# - workflow_run.head_branch contains the branch or tag name
# We can not reliably identify a tag from that, so we simply match the
cp -r docs-new target/docs-$NAME-$HASH
cd target/
- isdiff=$(diff -r -x "*.zip" docs-master/ docs-$NAME-$HASH >&2; echo $?; exit 0)
+ isdiff=$(diff -r -x "*.zip" docs-main/ docs-$NAME-$HASH >&2; echo $?; exit 0)
if [[ ("$ISRELEASE" != true) && ($isdiff = 0) ]]
then
- echo "Ignored run, documentation is the same as for current master"
+ echo "Ignored run, documentation is the same as for current main"
else
rm -f docs-$NAME
ln -s docs-$NAME-$HASH docs-$NAME
being submitted and to be signed using `git commit -s`.
- cvc5 is distributed under the terms of the modified BSD license (see
- [COPYING](https://github.com/cvc5/cvc5/blob/master/COPYING) file). By
+ [COPYING](https://github.com/cvc5/cvc5/blob/main/COPYING) file). By
submitting a signed contribution, you automatically agree to accept the conditions
- described in [COPYING](https://github.com/cvc5/cvc5/blob/master/COPYING).
+ described in [COPYING](https://github.com/cvc5/cvc5/blob/main/COPYING).
- By submitting a signed contribution, you additionally automatically agree
that the [Developer Certificate of Origin](https://developercertificate.org)
stand-alone tool or as a library. It has been designed to increase the
performance and reduce the memory overhead of its predecessors. It is written
entirely in C++ and is released under an open-source software license (see file
-[COPYING](https://github.com/cvc5/cvc5/blob/master/COPYING)).
+[COPYING](https://github.com/cvc5/cvc5/blob/main/COPYING)).
Website
https://github.com/cvc5/cvc5
Source tar balls and binaries for releases of the
-[master branch](https://github.com/cvc5/cvc5) can be
+[main branch](https://github.com/cvc5/cvc5) can be
found [here](https://github.com/cvc5/cvc5/releases).
Nightly builds are available [here](https://cvc5.github.io/downloads).
using Mingw-w64.
For detailed build and installation instructions on these platforms,
-see file [INSTALL.rst](https://github.com/cvc5/cvc5/blob/master/INSTALL.rst).
+see file [INSTALL.rst](https://github.com/cvc5/cvc5/blob/main/INSTALL.rst).
Bug Reports
-------------------------------------------------------------------------------
For a full list of authors, please refer to the
-[AUTHORS](https://github.com/cvc5/cvc5/blob/master/AUTHORS) file.
+[AUTHORS](https://github.com/cvc5/cvc5/blob/main/AUTHORS) file.
print(
'If you are sure you want to push this release, use the following command:'
)
- print('\tgit push --tags origin master')
+ print('\tgit push --tags origin main')
# -- core extension:: sphinx.ext.extlinks ------------------------------------
extlinks = {
- 'cvc5src': ('https://github.com/cvc5/cvc5/blob/master/src/%s', '%s'),
- 'cvc5repo': ('https://github.com/cvc5/cvc5/blob/master/%s', '%s'),
+ 'cvc5src': ('https://github.com/cvc5/cvc5/blob/main/src/%s', '%s'),
+ 'cvc5repo': ('https://github.com/cvc5/cvc5/blob/main/%s', '%s'),
}
examples_file_patterns = {
'^<examples>(.*)': {
'local': '/../examples{}',
- 'url': 'https://github.com/cvc5/cvc5/tree/master/examples{}',
+ 'url': 'https://github.com/cvc5/cvc5/tree/main/examples{}',
'urlname': 'examples{}',
},
'<z3pycompat>(.*)': {
ss << "cvc5 is statically linked against these libraries. To recompile\n"
"this version of cvc5 with different versions of these libraries\n"
"follow the instructions on "
- "https://github.com/cvc5/cvc5/blob/master/INSTALL.md\n\n";
+ "https://github.com/cvc5/cvc5/blob/main/INSTALL.md\n\n";
}
}
* An enumeration for proof rules. This enumeration is analogous to Kind for
* Node objects.
* This documentation is target for the online documentation that can be found
- * at https://cvc5.github.io/docs/master/proofs/proof_rules.html.
+ * at https://cvc5.github.io/docs/main/proofs/proof_rules.html.
*
* All proof rules are given as inference rules, presented in the following
* form:
## Running Regression Tests
For running regressions tests, see the
-[INSTALL](https://github.com/cvc5/cvc5/blob/master/INSTALL.rst#testing-cvc5)
+[INSTALL](https://github.com/cvc5/cvc5/blob/main/INSTALL.rst#testing-cvc5)
file.
By default, each invocation of cvc5 is done with a 10 minute timeout. To use a