38 Commits

Author SHA1 Message Date
David Tolnay
74c8ae4280
Merge pull request #501 from dtolnay/tidy
Run clang-tidy in CI
2020-11-23 17:57:12 -08:00
David Tolnay
b5b260c2a7
Make clang-tidy fail CI on positive finding 2020-11-23 17:40:45 -08:00
David Tolnay
99b1a5cef5
Fix yaml indentation in clang-tidy workflow job 2020-11-23 17:40:43 -08:00
David Tolnay
141052b0e8
Switch apt to apt-get in clang-tidy installation
> WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
2020-11-23 17:40:43 -08:00
David Tolnay
6f2a126c86
Move header filter to clang-tidy config file 2020-11-23 17:40:42 -08:00
David Tolnay
094adfafb0
Move clang-tidy std flag to compilation database file
https://clang.llvm.org/docs/JSONCompilationDatabase.html#alternatives
2020-11-23 17:40:41 -08:00
David Tolnay
2580f7aa10
Remove unneeded flags from clang-tidy command in CI 2020-11-23 17:40:39 -08:00
David Tolnay
7b22c9f4f3
Update CI to use stable 1.48.0 compiler 2020-11-23 17:17:07 -08:00
David Tolnay
87cf418307
Switch apt to apt-get in CI
> WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
2020-11-23 17:12:52 -08:00
Iulian Radu
841c751764 Add clang-tidy CI check 2020-11-18 23:28:02 +02:00
David Tolnay
5e0d82f59d
Merge pull request #456 from dtolnay/unsafe
Enforce unsafe surrounding block on safe-to-call functions
2020-11-15 14:45:05 -08:00
David Tolnay
091b6d4715
Replace set-env workflow command with GITHUB_ENV
Closes #351.
2020-11-15 00:24:29 -08:00
David Tolnay
909bb36da2
Pull in unreleased mdbook fixes 2020-11-13 17:20:17 -08:00
David Tolnay
d80e846bd1
Add book build script 2020-11-13 16:24:11 -08:00
David Tolnay
727ea000da
Update to rust 1.48 toolchain to support unsafe extern block 2020-11-11 11:15:38 -08:00
David Tolnay
7a0b134d9c
Run clippy on test suite in CI 2020-11-06 10:14:43 -08:00
David Tolnay
db0d0fd880
Upgrade to mdbook 0.4.4 for CNAME file support 2020-11-05 22:14:13 -08:00
David Tolnay
f6fa7b1a22
Skip ui tests on macOS builder too 2020-11-01 00:29:46 -07:00
David Tolnay
9e45701891
Set default flavor of buck rust library build operations
Previously e.g. `buck build :cxx` was surprisingly a no-op, requiring
one to build `:cxx#check` or `:cxx#rlib-pic` in order to perform any
compiler invocation at all.

defaults.rust_library.type is a recent feature (landed in facebook/buck@c425eb93e1),
hence the bump of the Buck commit pulled in for CI.
2020-10-11 21:55:48 -07:00
David Tolnay
2a0a80a260
Raise minimum supported Rust version to 1.43 2020-10-11 03:49:37 -07:00
David Tolnay
2e18e5855d
Replace ::add-path with using Environment Files
https://github.com/dtolnay/cxx/issues/351
2020-10-09 22:13:48 -07:00
David Tolnay
c4dcb91ae6
Automatically run cargo vendor from bazel 2020-10-09 20:40:42 -07:00
David Tolnay
9e43a055b6
Run clippy in CI 2020-10-09 20:30:52 -07:00
David Tolnay
e53ec04397
Bypass compiletest on Windows push and pull_request builds 2020-09-24 23:36:00 -04:00
David Tolnay
9ec5ca4d68
Unfork Buck repo 2020-09-22 01:14:31 -04:00
David Tolnay
a8e0534d4f
Use java 11 for Buck 2020-09-21 23:46:31 -04:00
David Tolnay
3421599ff6
Update to dev branch of Buck 2020-09-21 23:46:31 -04:00
David Tolnay
7aa5e21ab7
Use lld for the buck link 2020-09-07 22:17:56 -07:00
David Tolnay
6e043630ba
Rebuild site only if push touches book directory 2020-09-02 11:49:15 -07:00
David Tolnay
2d661b8480
Add mdbook skeleton 2020-09-02 11:40:05 -07:00
David Tolnay
f401e882a3
Update demo path in CI workflow 2020-09-01 20:58:48 -07:00
David Tolnay
125c91dc09
Switch from deprecated --all to --workspace 2020-08-30 00:38:15 -07:00
David Tolnay
545d2625af
Avoid compiling the ffi crate a second time in --test mode 2020-08-30 00:35:03 -07:00
David Tolnay
b555c741af
Run tests of all workspace crates in CI 2020-08-30 00:05:55 -07:00
David Tolnay
f5ac0d9ffa
Fix permission denied failure in bazel CI job
This job started failing in GitHub Actions with this error:

    ## $ bazel run demo-rs --verbose_failures --noshow_progress
    Downloading https://releases.bazel.build/3.1.0/release/bazel-3.1.0-linux-x86_64...
    could not run Bazel: could not start Bazel: fork/exec /home/runner/work/cxx/cxx/tools/bazel: permission denied
    ##[error]Process completed with exit code 1.
2020-05-11 13:19:14 -07:00
David Tolnay
9531334f5a
Move github funding.yml out of repo root 2020-05-05 12:54:15 -07:00
David Tolnay
24d22b471a
Remove Travis configuration 2020-05-04 02:31:53 -07:00
David Tolnay
193ce8171a
Enable GitHub Actions 2020-05-02 21:20:14 -07:00