Richard Brooksby
32dac66d58
Third attempt to use environment variables to select the compiler.
2023-01-15 14:07:44 +00:00
Richard Brooksby
cd4f0c9934
Second attempt to include environment in the build matrix.
2023-01-15 13:58:36 +00:00
Richard Brooksby
b2c509d5d7
Attempt to persuade the build matrix to use environment dimension to persuade configure script to use clang.
2023-01-15 13:55:31 +00:00
Richard Brooksby
60b5c64eef
Adding explicit build for lii6ll.
2023-01-15 13:34:00 +00:00
Richard Brooksby
4575ed2a58
Adding todo note about kicking off other ci actions.
2023-01-15 13:17:05 +00:00
Richard Brooksby
476a80d0e6
Renaming the c-cpp workflow to build-and-test, which expresses better its intention.
2023-01-15 13:16:34 +00:00
Richard Brooksby
eb7fad8de6
Oops. deleting literal token and replacing with parameter. also correcting the permissions required on the token.
2023-01-15 12:57:41 +00:00
Richard Brooksby
87a183cb84
Adding tool scripts to kick off ci builds on travis ci and github.
2023-01-15 12:47:03 +00:00
Richard Brooksby
ff300da53d
Add workflow_dispatch trigger to workflow so that it can be started manually.
2023-01-15 10:45:39 +00:00
Richard Brooksby
c0fda6f38d
Adding test targets to github ci on windows.
2023-01-14 20:43:10 +00:00
Richard Brooksby
4161487444
Another attempt to suppress macos on amd64, after observing it was still attempted in < https://app.travis-ci.com/github/ravenbrook/mps/builds/259659638 >.
2023-01-13 04:00:31 +00:00
Richard Brooksby
a2cb60af5a
Explicitly excluding macos on amd64 after observing it was included in < https://app.travis-ci.com/github/ravenbrook/mps/builds/259659638 >.
2023-01-13 03:57:25 +00:00
Richard Brooksby
4bd51834c6
Re-enabling arm64 builds, because github ci does not provide them.
2023-01-13 03:52:51 +00:00
Richard Brooksby
a803f519f2
Moving linux, macos, and windows builds to github ci.
2023-01-11 15:48:50 +00:00
Richard Brooksby
113f511e7e
Merge branch/2023-01-10/travis-freebsd into branch/2023-01-11/github-ci to explore hybrid scheme between github ci and travis ci.
2023-01-11 15:45:16 +00:00
Richard Brooksby
f4973d593e
Github ci's cmd exited right after the first line, so perhaps the run script is secretly a batch file and needs to use "call".
2023-01-11 13:46:53 +00:00
Richard Brooksby
2127d952f4
Quoting path to visual studio environment to try to get cmd to run it in github ci.
2023-01-11 13:44:37 +00:00
Richard Brooksby
f36902df56
Trying a path to visual studio environment documented by github < e6fcf60b8e/images/win/windows2022-readme.md (l215)>.
2023-01-11 13:42:25 +00:00
Richard Brooksby
ae87d09279
Visual studio tools aren't in cmd in github ci by default. try using the shim we made for travis ci.
2023-01-11 13:35:06 +00:00
Richard Brooksby
838605c270
Adding a windows build to github ci.
2023-01-11 13:31:42 +00:00
Richard Brooksby
ce35bedfa8
Using the matrix output as input to the job's runs-on parameter.
2023-01-11 13:11:19 +00:00
Richard Brooksby
a91cd3aef2
Extending job to run on macos using a build matrix.
2023-01-11 13:08:31 +00:00
Richard Brooksby
228cc4568b
Merge branch branch/2023-01-06/gcc-11.3.0-warnings into branch/2023-01-11/github-ci because these warnings cause github ci to fail < https://github.com/ravenbrook/mps/actions/runs/3892932541/jobs/6644932572#step:4:215 >.
2023-01-11 12:48:57 +00:00
Richard Brooksby
935089e037
Fixing yaml syntax.
2023-01-11 12:47:24 +00:00
Richard Brooksby
0523c12113
Possibly removing condition that the workflow only works on the default (master) branch.
2023-01-11 12:43:43 +00:00
Richard Brooksby
5debad51af
Disabling travis ci on this branch while experimenting with github ci.
2023-01-11 09:40:42 +00:00
Richard Brooksby
3e0a8ca444
Adding a github workflow to trigger a github ci build, as an experiment.
2023-01-11 09:40:23 +00:00
Richard Brooksby
763c3ea93a
Reverting 2a5eab7 (changelist 181860) that introduced gnu syntax into the top-level makefile, breaking freebsd builds. adding warning to prevent similar mistakes.
2023-01-10 23:43:49 +00:00
Richard Brooksby
d4823919c6
Adding freebsd to travis ci build matrix.
2023-01-10 17:07:58 +00:00
Richard Brooksby
7159ec5d4f
Excluding some branches from travis ci builds to avoid resource usage and message spam.
2023-01-08 11:58:23 +00:00
Richard Brooksby
efcd2933e2
Adding pull-request-merge to procedures index. updating copyright dates. validating.
2023-01-07 14:02:41 +00:00
Richard Brooksby
2eefc7a363
Adding pull request merge procedure.
2023-01-07 13:54:08 +00:00
Richard Brooksby
9ba1724cdb
Resolve legit warning from gcc 11.3.0 about potential array overruns.
2023-01-06 17:39:48 +00:00
Richard Brooksby
cfd333842c
Moving windows outside the matrix so we don't get extraneous builds for non-existent platforms like w3i6gc that try to use configure.
...
Fixing CMD invocation to use /c rather than /k so that CMD exits when finished.
2023-01-06 12:40:00 +00:00
Richard Brooksby
119fa09bd9
Fix travis ci build for windows using auxiliary batch script to escape from git bash to visual studio.
2023-01-06 12:18:03 +00:00
Richard Brooksby
0c03e19427
Experimentally enabling window build with travis ci to see what happens, since the documentation < https://docs.travis-ci.com/user/reference/windows/ > is very vague.
2023-01-05 23:07:17 +00:00
Gareth Rees
4ed7bef4b2
Avoid compilation error from clang 13.1.
2022-08-21 08:25:50 +01:00
Gareth Rees
4ba2db1346
Merge pull request from branch/2020-08-29/page-sparering-elim
...
GitHub-reference: https://github.com/Ravenbrook/mps/issues/29
2022-01-17 20:44:45 +00:00
Gareth Rees
6a965b5ff0
Handle partial allocation failure by marking allocated pages spare and purging, as suggested by rb in review.
...
Copied from Perforce
Change: 195997
2022-01-17 20:19:08 +00:00
Gareth Rees
71b05de30f
Eliminate pagestate and pagepoolunion: spare pages are now represented by the spare page land, and free/allocated pages can be distinguished using the pool pointer.
...
Copied from Perforce
Change: 195991
2022-01-17 20:19:08 +00:00
Gareth Rees
49a20700a7
Can't assert that res == reslimit since it may be an injected memory allocation failure from fotest.
...
Copied from Perforce
Change: 195988
2022-01-17 20:19:07 +00:00
Gareth Rees
b0a1af5c05
Represent the spare memory as a land.
2022-01-17 20:19:07 +00:00
Gareth Rees
cfde286af5
Merge pull request from branch/2020-08-31/walk
...
GitHub-reference: https://github.com/Ravenbrook/mps/issues/34
2022-01-17 18:15:04 +00:00
Gareth Rees
cd5268121f
Add some technical details to the mps_area_scan_t documentation.
2022-01-17 17:39:18 +00:00
Gareth Rees
efff4ea400
Deprecate mps_formatted_objects_walk and mps_amc_apply.
2022-01-17 17:39:18 +00:00
Gareth Rees
359bd5b034
New api function mps_pool_walk.
2022-01-17 17:39:18 +00:00
Gareth Rees
a8fe3c5134
New function scanstateupdatesummary updates seg summary after scan.
2022-01-17 17:12:58 +00:00
Gareth Rees
8b87dccf6e
Indirect formatted scanning through the scanstate.
...
This will allow us to reuse the scanning protocol with an arbitrary area
scanning function (replacing traceFormatScan) in order to implement
formatted object walking without an extra segment method.
Don't insist on scanning only grey segments: we want to be able to
reuse the scan protocol for walking, when the segments are black.
2022-01-17 17:12:58 +00:00
Gareth Rees
839ce9c6d3
Swap .gitignore and .p4ignore.
...
Git version 2.32 added the backwards-incompatible "feature" that
.gitignore files that are symbolic links are ignored. Since all our
.gitignore files are symbolic links to the .p4ignore file in the same
directory, for compatibility between the Perforce and Git mirrors of
the repository, this broke "git status" for us and all our users.
See https://github.com/git/git/blob/master/Documentation/RelNotes/2.32.0.txt
This change swaps the files so that .p4ignore is a symbolic link to
.gitignore in each case.
2022-01-11 14:34:05 +00:00
Gareth Rees
a6fb99af5b
Update the supported target platforms in the user guide.
2021-09-04 09:43:27 +01:00