1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-17 00:29:31 +00:00
Commit Graph

100 Commits

Author SHA1 Message Date
Greg King
16d259d2b4 Commented out the push command. 2022-06-17 21:44:42 -04:00
Greg King
268823fdbb Changed a line that Github Actions claimed was bad. 2022-06-17 21:22:43 -04:00
Greg King
a0e0c789db Went back to using actions/checkout@v2.
(Direct cloning doesn't support pushing with a hidden token.)

I'm putting this aside, for now. A Personal Access Token must be made for the repository. "git push" does a dry-run, so that the workflow will succeed.
2022-06-17 18:42:12 -04:00
Greg King
65c8b49430 Passed the token through the environment. 2022-06-17 13:52:45 -04:00
Greg King
43c0f5ecd7 Directly clone the document repo. 2022-06-17 12:58:56 -04:00
Greg King
997c67de35 Put doc.git next to cc65. 2022-06-17 09:00:53 -04:00
Greg King
0dab508c75 Find out where doc.git is. 2022-06-17 08:35:06 -04:00
Greg King
3f314c0ee9 Fixed the action/checkout steps.
I misunderstood that action's docs.
2022-06-17 08:18:51 -04:00
Greg King
86d68bea8c Experiment: checkout the second repo first.
Maybe that will give it the github.token that it needs.
2022-06-17 08:06:21 -04:00
Greg King
b4231401bd Trying a verbose Git push.
If I'm lucky, it will tell me more.
2022-06-17 05:38:59 -04:00
Greg King
0d5dbb2ce2 Tried to authorize a push by setting the access token explicitly. 2022-06-17 03:46:31 -04:00
Greg King
5b0023c3df Fixed a shell syntax bug. Try again. 2022-06-17 02:30:52 -04:00
Greg King
1628efd569 Added Github action steps that update the online documentation repo. 2022-06-17 01:44:40 -04:00
mrdudz
d30fc65dd5 add check for +x flag 2022-05-17 15:28:51 +02:00
mrdudz
0f291aee86 rename the actual checkstyle target too :) 2022-05-17 14:39:35 +02:00
mrdudz
75441afb71 rename the "check" target to "checkstyle".
also created a new "check" target which runs all tests, as it is common with GNU programs
2022-05-17 14:30:41 +02:00
Greg King
6ea1f8ee85 Made the style-check scripts send their file lists to stderr.
A complete list will be shown before make shows its error message.  There will be less confusion about which lines are in the list.
2022-04-18 19:47:02 -04:00
Greg King
2cdccd5e8a Oops, forgot to check macros. 2022-04-17 19:10:29 -04:00
Greg King
5839298203 Remove work directory paths _before_ checking for style errors. 2022-04-17 16:10:28 -04:00
Greg King
a4e1cf9a0a Moved a constant expression out of a loop. 2022-04-17 15:08:42 -04:00
Greg King
86ca11222a Fixed and tightenned the find commands' expressions. 2022-04-17 15:04:36 -04:00
Greg King
b2319f3578 Made all of the Makefile's rules be phony. 2022-04-17 15:04:16 -04:00
mrdudz
e9fec5e3fe define CHECK_PATH rather than leaving it open 2022-04-17 17:12:52 +02:00
mrdudz
4e3bba0c3f also check spaces at end of lines 2022-04-17 16:08:21 +02:00
mrdudz
eb04ce8190 add more style checks 2022-04-16 20:00:10 +02:00
mrdudz
fd6662bb64 add check action also to the snapshot build 2022-04-16 18:32:49 +02:00
mrdudz
4c58757064 run style checks on PR 2022-04-16 18:21:57 +02:00
mrdudz
4b492ed4e5 added TAB checker script, to be added to the PR checker action 2022-04-16 18:18:51 +02:00
Greg King
d006317b0e Made the snapshot-on-push Github action run on only the upstream repository. 2022-02-17 00:30:31 -05:00
mrdudz
118e73ddf9 build utilities in a seperate step 2022-02-11 16:38:40 +01:00
Greg King
9dd13d7047 Moved the platform-test enumerations from Github Actions over to makefiles.
Now, we can run those tests locally, as well as on Github.
2022-02-09 04:05:35 -05:00
mrdudz
dfe478b154 upload snapshot to sourceforge 2022-02-06 18:20:09 +01:00
mrdudz
0436c6e314 fix this too 2022-02-05 18:09:32 +01:00
mrdudz
096c28bb52 remove programs in util dir before making a snapshot. we might later
decide to leave them there anyway.
2022-02-05 17:47:20 +01:00
mrdudz
b3217ccb03 build util dir when testing 2022-02-05 17:44:32 +01:00
mrdudz
c50f5c9467 build targettest progrs for all targets 2022-01-30 19:51:05 +01:00
mrdudz
ccb77735d2 samples makefile already goes through the subdirs correctly 2022-01-30 13:18:51 +01:00
mrdudz
a0fc95bb15 actually use all targets for the samples dir 2022-01-30 12:49:33 +01:00
mrdudz
6e5a988f85 build samples for all targets 2022-01-30 12:36:15 +01:00
mrdudz
11bcaba99b comment out all the non working targets 2022-01-30 02:29:11 +01:00
mrdudz
273721e05e fix pathes 2022-01-30 02:07:50 +01:00
mrdudz
43fdc8781d and another 2022-01-30 01:54:06 +01:00
mrdudz
90cc44b410 another try 2022-01-30 01:46:47 +01:00
mrdudz
d1ae098190 iterate through all targettest builds 2022-01-30 01:23:10 +01:00
Greg King
230f4d3807 Install system packages before checking out the repo. 2021-12-12 23:54:17 -05:00
Greg King
366701e066 Added a 64-bit Windows cross-compile.
That compiler catches pointer-integer width mismatches that other compilers ignore.
2021-12-12 19:02:37 -05:00
Greg King
33cf8608b7 Removed unneeded package names.
sshpass isn't needed because the Windows packages are put on Github.
linuxdoc-tools is a dependency of linuxdoc-tools-info.
The binutils package is a dependency of the gcc package.
2021-12-12 19:02:37 -05:00
Greg King
2feadf865c Changed a big script into separate named steps.
It makes the job log easier to navigate.

Also, Pull Requests don't need a Zip file.
2021-12-12 19:02:37 -05:00
David Hogan
a39c23f796 Snapshot build on push master.
For now, the snapshot zip can be obtained from the latest successful snapshot build at:
https://github.com/cc65/cc65/actions/workflows/snapshot-on-push-master.yml

TODO: Update docs at https://github.com/cc65/doc
TODO: Publish snapshot zip at https://github.com/cc65/cc65.github.io
2021-12-11 14:10:19 +11:00
David Hogan
4eaf68d414 Automated Github pull request build and test 2021-12-11 12:43:59 +11:00