shhyou
50f373f4d6
Fixes of the core tests for testing on Windows
...
* Initialize the environment variables with paths to
MSVC toolchain before running the racket-test-core,
since the foreign library tests need a C compiler.
* Fix a bug in foreign-test.rktl that deletes the existing
content of environment variables (PATH, INCLUDE, LIB, etc)
* Let a test in date.rktl fail more gracefully.
2020-12-21 15:18:07 -06:00
shhyou
344f2c9713
Split the testing steps in the Windows CI workflow
...
* cmd.exe only returns the error level of the last
executed command and does not support fail-fast.
So testing should be done in individual steps.
See <https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions > for more information.
* Also installs db-test dependencies.
2020-12-20 22:11:10 -05:00
Sorawee Porncharoenwase
52676db959
CI: prevent forks from running jobs for self-hosted
2020-12-16 19:23:53 -06:00
shhyou
196f72d756
Add syntax tests for other configurations.
...
racket#3078 adds syntax tests for (x86_linux-)test-cgc;
this commit adds syntax tests for other configurations.
2020-12-16 13:46:02 -05:00
Paulo Matos
131557a20f
Add texlive to racketci image
2020-12-14 06:45:35 +01:00
sorawee
5412211a7c
CI: fixes a typo that causes CI to fail
2020-12-12 09:23:08 -05:00
Sam Tobin-Hochstadt
9b1b85015a
Try adding slack notification for GitHub actions.
2020-12-10 12:17:22 -05:00
Paulo Matos
c3c5a33c53
Specify specific ubuntu version to avoid github warning
2020-11-30 08:34:06 +01:00
Paulo Matos
4268091c7b
Remove deprecated set-env directive from CI files
...
set-env were removed due to security concerns.
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
2020-11-17 06:51:30 +01:00
Paulo Matos
5dd687b77d
Check that user correctly regenerated build.md ( #3505 )
2020-11-17 06:38:37 +01:00
Paulo Matos
c3aa63db37
Add ARM32 version of PR fast build workflow ( #3503 )
...
Unfortunately, due to bug https://github.com/moby/moby/issues/41217 ,
ARM and ARM64 versions cannot share the same jobs through a matrix
setting.
2020-11-16 15:46:35 +01:00
Paulo Matos
c8e34be4d9
Remove fetch-depth: 0 from actions/checkout
...
Apparently fetch-depth: 0 means fetch everything.
Pointed out by @xxyzz in #3502 but I mistakingly pushed before fixing.
2020-11-16 15:41:43 +01:00
Paulo Matos
c057d5e7a6
Add workflow to scribble build guide ( #3502 )
...
This should avoid breaking changes being committed.
2020-11-16 15:25:20 +01:00
Paulo Matos
09c3d215e2
Use racket cify variant for building 3m and cs in ARM CI
2020-11-13 07:13:30 +01:00
Paulo Matos
9dbfeb2c6a
Reduce number of tested configurations on ARM64
...
Currently we don't have enough HW to smoothly test on arm64 all
possible configurations. Reducing configurations by removing matrix
elements and leaving the matrix in-place, so it is easier to re-add
these in the future.
2020-11-11 14:17:54 +01:00
Paulo Matos
145d6c8e8c
Use different filenames for BS and CS UBsan error logs
2020-11-11 07:10:31 +01:00
Paulo Matos
4892d2ad80
Fix workflow syntax
2020-11-09 13:44:04 +01:00
Paulo Matos
3369bf6658
Allow test-cgc to fail without failing the workflow
...
Related to #3491
2020-11-09 13:40:56 +01:00
Paulo Matos
07148a22a0
Instead of just cleaning workspace, clean whole home dir
2020-10-30 15:42:45 +01:00
Paulo Matos
0632ecf4b8
Add xvfb to list of image dependencies
2020-10-30 08:14:05 +01:00
Paulo Matos
8a9a6fe936
Use AutoModality/action-clean@v1 to clean Home
...
Also we don't need to checkout ChezScheme anymore so remove that.
2020-10-28 06:51:09 +01:00
Paulo Matos
45b0aa21d1
Add correct variables to ARM64 workflow and clean .racket
2020-10-27 16:56:08 +01:00
Paulo Matos
1fd6844bc0
Remove debug find
from CI ARM workflow
2020-10-26 06:25:49 +01:00
Paulo Matos
7bec281f98
Clean ARM build directory before each build
2020-10-25 15:24:15 +01:00
Paulo Matos
5a31f8b833
Do not run ARM tests on PR ( #3463 )
...
Due to the speed and volume of available ARM HW reduce tests on
ARM during PRs and leave them for push-only. Run ubsan only on a
daily basis.
2020-10-24 21:49:49 +02:00
Paulo Matos
5f74c59ef5
CI support on self-hosted arm64 runners ( #3294 )
...
For the moment, due to a bug in moby, it's not possible to run these
on arm32 (https://github.com/moby/moby/issues/41217 )
2020-10-23 20:32:27 +02:00
xxyzz
3be1d49652
replace add-path with GITHUB_ENV ( #3447 )
2020-10-20 08:02:56 +02:00
Paulo Matos
3b9afbc2e3
Fix yaml workflow syntax
2020-10-08 11:29:25 +02:00
Paulo Matos
c5e3de2a7b
Add option to enable asan compilation in CS: --enable-asan ( #3428 )
...
Add workflow `ci-asan.yml` to test CS with ASAN as well.
2020-10-07 17:18:56 +02:00
Paulo Matos
e93d1341fb
Redirect future test logs to file
...
We seemed to have forgotten to redirect future tests output to a file.
This is relevant because it's how the workflow checks for runtime errors.
2020-10-07 16:00:29 +02:00
Paulo Matos
9b3a153d3e
Update title of workflow and remove scheduling
2020-10-07 14:43:30 +02:00
xxyzz
659741bb58
bc: declare interntional unsafe fixnum arithmetic
...
Eliminate overflow errors from fixnum test when racket bc compiled with
--enable-ubsan (issue #2314 )
2020-09-22 07:57:32 -06:00
Stephen De Gabrielle
863e29e827
GitHub issues: add contact links back to racket users and slack
2020-09-01 07:17:28 -06:00
Paulo Matos
2ee8807298
Clean up uuid dependencies from workflows ( #3331 )
2020-08-03 19:21:48 +02:00
Paulo Matos
e62b3b8c1c
Fix tool name in SARIF files depending on racket build mode ( #3328 )
...
This should replace the toolname in sarif files to workaround the lack of tags when uploading them.
See here for a request to add that:
https://github.com/github/codeql-action/issues/129
2020-08-03 17:46:04 +02:00
Paulo Matos
77fd6936b1
Fix target names post-CS becoming the default ( #3327 )
...
Fixes target names to fix ubsan workflows.
2020-08-03 16:16:36 +02:00
Sam Tobin-Hochstadt
0cd1899d9d
Update CI snapshots for cs-as-default.
2020-08-02 16:17:23 -04:00
Matthew Flatt
e6752e9afc
configure: switch default from BC to CS
...
This change brings the top-level makefile and `configure` back in
sync, but it affect source distributions by changing the `configure`
default there.
2020-08-02 07:57:12 -06:00
Paulo Matos
e01fd1a5a7
Revert "Speed up solo chez testing ( #3322 )"
...
This reverts commit 8e2c6c966a
.
There is a test failure on i386 and an out of memory problem on
arm64, so I am reverting this until I get those fixed.
2020-07-31 06:28:02 +02:00
Paulo Matos
8e2c6c966a
Speed up solo chez testing ( #3322 )
...
This allows multiple test configurations to run in parallel, therefore
taking advantages of multiple processors.
2020-07-30 21:56:28 +02:00
Paulo Matos
a4b6ac701e
Solo Chez build/test workflow ( #3316 )
2020-07-30 13:19:49 +02:00
Matthew Flatt
62a3f6ec91
change CS build to use a subtree Chez Scheme and a bootstrapped pb
...
Also, schemified "thread", "io", "regexp", "schemify", and "expander"
layers are checked in. Overall, building Racket CS no longer requires
first building Racket BC.
2020-07-28 12:56:42 -06:00
Sorawee Porncharoenwase
173fecdff4
Point to the release branch for other workflows
2020-07-20 15:23:24 -04:00
Paulo Matos
5daba1fbb1
If CI is running on release branch, use Chez release ( #3303 )
2020-07-20 16:57:45 +02:00
Paulo Matos
fb3dd84ac9
Define USER to be root
...
Although we start with user root, the image does not define the USER
env variable to root, which some Chez tests expect.
2020-07-20 09:20:10 +02:00
Sorawee Porncharoenwase
0f49bc1079
Minor change to the issue template
2020-07-16 20:55:53 -04:00
Stephen De Gabrielle
bda8215447
Issue templates ( #3254 )
...
Add bug report and feature request templates.
2020-07-15 10:50:19 -04:00
Sam Tobin-Hochstadt
bf86472f11
Adjust name to distinguish sarif files.
2020-07-06 15:49:14 -04:00
Sam Tobin-Hochstadt
d62526d290
Upload all scan-build results to GitHub.
2020-07-03 15:37:27 -04:00
Paulo Matos
8343bd2d7c
Move SARIF files to directory with single-level ( #3283 )
2020-07-03 16:10:18 +02:00