Arthur Cohen
e824a0835b
ci: Run tests with gccrs compiled under gcc-4.8
2022-03-29 10:22:53 +02:00
Arthur Cohen
c1cc931f97
ci: Add job for building gccrs with older gcc
...
As Thomas Schwinge pointed out, GCC 4.8 is the minimum version to be
used for building current GCC, meaning that we should make an effort to
support it before we consider upstreaming or backporting. The main
differences are probably a less powerful standard template library or
small compilation differences.
2022-03-24 11:05:27 +01:00
Thomas Schwinge
f91f637652
Tune '.github/workflows/ccpp.yml:jobs.build-and-check', 'Check for new warnings' step
...
Run it in scratch directory, too, to not pollute the pristine sources
directory. Point to <https://github.com/Rust-GCC/gccrs/pull/1026 > in case of
failure.
2022-03-22 12:17:23 +01:00
Thomas Schwinge
10ff5d5507
Merge 'Build logs' into 'Build' in '.github/workflows/ccpp.yml:jobs.build-and-check'
...
This avoids the supposed issue that in case that 'make' fails, the whole
'jobs.build-and-check' stops, and 'Build logs' isn't executed, and thus there's
no indication in the GitHub UI why 'make' failed.
Using a shell pipeline is OK; the exit code of 'make' isn't lost, as per
<https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell >,
'bash' is being run with '-o pipefail'.
2022-03-22 12:17:23 +01:00
Thomas Schwinge
246fb48cbb
Force 'LC_ALL=C.UTF-8' for all steps of '.github/workflows/ccpp.yml:jobs.build-and-check'
...
That's what I use in my local development enviroment, and I suppose I'll
be the main one touching this file semi-regularly in context of
<https://github.com/Rust-GCC/gccrs/issues/247 > "Rebasing against GCC".
2022-03-22 12:17:23 +01:00
Thomas Schwinge
202e61bc2d
Force 'LC_ALL=C' for all steps of '.github/workflows/ccpp.yml:jobs.build-and-check'
2022-03-22 09:55:43 +01:00
CastilloDel
60d1fd533c
Add a check for new warnings to the CI
...
This should prevent new warnings from appearing silently
Signed-off-by: Daniel del Castillo delcastillodelarosadaniel@gmail.com
2022-03-20 09:42:41 +00:00
Arthur Cohen
737873ca87
ci: Do not allow unresolved test cases
2022-02-21 16:39:06 +01:00
M V V S Manoj Kumar
73a0903c15
Merge branch 'Rust-GCC:master' into master
2021-11-20 08:01:36 +05:30
@mvvsmk
9c4e3db778
Added Remark.yml and .remarkrc
...
Addresses #487
Remark.yml contains the workflow and .remarkrc is the linter's config file.
Signed-off-by: M V V S Manoj Kumar <mvvsmanojkumar@gmail.com>
2021-11-06 20:15:06 +05:30
Thomas Schwinge
c936060b86
Running `clang-format` locally [ #242 ]
...
Apparently everyone but me knows how to do that; I'm now documenting it for my
own future use.
2021-11-05 12:14:18 +01:00
Ben Boeckel
e0d9dde2f2
gha: save `check-rust` results as artifacts
...
They will stick around for 90 days (as per GitHub default limits).
https://docs.github.com/en/actions/advanced-guides/storing-workflow-data-as-artifacts
Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
2021-11-01 19:44:23 -04:00
Philip Herron
1eb4d0d3ba
Try again for docker image build workflow
2021-09-24 14:51:29 +01:00
Philip Herron
faafe0fb11
Update docker build workflow
2021-09-24 14:47:05 +01:00
Philip Herron
8bb47bcaf1
Add docker image builds though github actions.
...
Recently dockerhub is now charging for automated builds on dockerhub. This
means we no longer have regular updated docker builds of gccrs.
2021-08-11 10:43:27 +01:00
Philip Herron
a027e84a71
remove greetings yml
2021-05-14 13:37:08 +01:00
Marc Poulhiès
777ef8a74c
Initial bors-ng integration
...
Github Action only triggered on bors-ng controlled branches (trying/staging).
Fixes #324
2021-04-05 19:59:27 +02:00
Philip Herron
112495e257
Add bootstrap build based off our normal build which tests the status of bootstrap builds
2021-04-05 11:10:02 +01:00
Marc Poulhiès
c044fda54b
Fix CI checks
...
Checking for 'unexpected' will also catch XFAIL tests being PASS.
2021-04-01 10:34:35 +01:00
therealansh
b563491f40
CI: build using -j (nproc)
...
Signed-off-by: therealansh <tyagiansh23@hotmail.com>
2021-03-14 18:35:55 +00:00
Akshat Agarwal
27df0c9f95
Run clang-format CI on every push on master branch
...
Signed-off-by: Akshat Agarwal <humancalico@disroot.org>
2021-02-22 17:11:21 +00:00
Akshat Agarwal
642cc5ed4f
Add clang format GitHub Action
...
Signed-off-by: Akshat Agarwal <humancalico@disroot.org>
2021-02-19 10:31:39 +00:00
Philip Herron
af04ea2222
Change CI to look for any unexpected failures to fail the build.
2021-01-06 10:52:56 +00:00
Philip Herron
4d590e5d21
Create new Greetings automation on github
...
This should make sure people are aware about copyright assignment on their first PR.
2021-01-06 10:03:06 +00:00
Philip Herron
04bcc692f5
Seperate build and Test steps in the build
2020-12-23 12:31:48 +00:00
Philip Herron
503eb9b354
Add missing Dejagnu dependancy to run test suite.
...
Fixes #63
2020-12-16 11:14:59 +00:00
Philip Herron
21d0a20c77
Update Automations to only build rust to improve build times
2020-12-07 10:13:16 +00:00
Philip Herron
e6ebbcc6dd
Turn on make check-rust
...
This will turn on the test-suite which does have a currently failing test
lets see what happens the workflow in github.
2020-11-30 12:41:59 +00:00
Philip Herron
8e2f81b35a
Revert "Test a clang-format lint"
...
This reverts commit 3a3c3ca4314534d03db6f6bb8acef24e091285e1.
2020-11-28 19:09:39 +00:00
Philip Herron
2c40a7f3c0
Test a clang-format lint
2020-11-28 19:09:39 +00:00
Philip Herron
3a2b1a2084
paralellized builds causes problems in workflow
2020-11-27 17:02:35 +00:00
Philip Herron
a4efcf829f
Missing plugin-dev to provide insn-modes.h for workflow github env
2020-11-27 17:02:35 +00:00
Philip Herron
7a6059df73
Missing g++-multilib for workflow github env
2020-11-27 17:02:31 +00:00