Commit Graph

43 Commits

Author SHA1 Message Date
Greg King
a94b614f2d Removed an environment experiment. 2022-07-21 03:24:17 +02:00
Greg King
3bf3bfa294 Commented out the push command. 2022-07-21 03:24:17 +02:00
Greg King
f835412562 Changed a line that Github Actions claimed was bad. 2022-07-21 03:24:17 +02:00
Greg King
bcc8c5049b 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-07-21 03:24:17 +02:00
Greg King
9dec4034e3 Passed the token through the environment. 2022-07-21 03:24:17 +02:00
Greg King
c00c89c2b7 Directly clone the document repo. 2022-07-21 03:24:17 +02:00
Greg King
4d045a68e3 Put doc.git next to cc65. 2022-07-21 03:24:17 +02:00
Greg King
964c4a220e Find out where doc.git is. 2022-07-21 03:24:17 +02:00
Greg King
e004e92f21 Fixed the action/checkout steps.
I misunderstood that action's docs.
2022-07-21 03:24:17 +02:00
Greg King
2290e70e0c Experiment: checkout the second repo first.
Maybe that will give it the github.token that it needs.
2022-07-21 03:24:17 +02:00
Greg King
4c74d4b851 Trying a verbose Git push.
If I'm lucky, it will tell me more.
2022-07-21 03:24:17 +02:00
Greg King
cb20b2e968 Tried to authorize a push by setting the access token explicitly. 2022-07-21 03:24:17 +02:00
Greg King
3232ce1bad Fixed a shell syntax bug. Try again. 2022-07-21 03:24:17 +02:00
Greg King
735f0cda25 Added Github action steps that update the online documentation repo. 2022-07-21 03:24:16 +02:00
mrdudz
0e4d3aa7c5 rename the "check" target to "checkstyle".
also created a new "check" target which runs all tests, as it is common with GNU programs
2022-07-21 03:22:52 +02:00
mrdudz
5d45c655bd add check action also to the snapshot build 2022-07-21 03:20:44 +02:00
mrdudz
db20b1dc14 run style checks on PR 2022-07-21 03:20:44 +02:00
Greg King
e4f38f4476 Made the snapshot-on-push Github action run on only the upstream repository. 2022-07-21 03:18:13 +02:00
mrdudz
648c8e21e3 build utilities in a seperate step 2022-07-21 03:18:13 +02:00
Greg King
9c1c1c04d8 Moved the platform-test enumerations from Github Actions over to makefiles.
Now, we can run those tests locally, as well as on Github.
2022-07-21 03:18:13 +02:00
mrdudz
138d2badb2 upload snapshot to sourceforge 2022-07-21 03:18:08 +02:00
mrdudz
b9bda8c40d test upload again 2022-07-21 03:13:10 +02:00
mrdudz
561e973c5d try publishing on sf after snapshot 2022-07-21 03:13:10 +02:00
mrdudz
1af84ed9a0 fix this too 2022-07-21 03:13:10 +02:00
mrdudz
9509288b80 remove programs in util dir before making a snapshot. we might later
decide to leave them there anyway.
2022-07-21 03:13:10 +02:00
mrdudz
0046d8ec5c build util dir when testing 2022-07-21 03:13:10 +02:00
mrdudz
afc80949e3 build targettest progrs for all targets 2022-07-21 03:13:10 +02:00
mrdudz
69346960b8 samples makefile already goes through the subdirs correctly 2022-07-21 03:13:10 +02:00
mrdudz
7a0d630d1b actually use all targets for the samples dir 2022-07-21 03:13:10 +02:00
mrdudz
1e7886b9c7 build samples for all targets 2022-07-21 03:13:10 +02:00
mrdudz
09f2dc8d69 comment out all the non working targets 2022-07-21 03:13:10 +02:00
mrdudz
53fed67bbc fix pathes 2022-07-21 03:13:10 +02:00
mrdudz
8867d55b83 and another 2022-07-21 03:13:10 +02:00
mrdudz
f2ac6796aa another try 2022-07-21 03:13:10 +02:00
mrdudz
e9e9d7aab8 iterate through all targettest builds 2022-07-21 03:13:10 +02:00
polluks2
5b97a74dbc Delete c-cpp.yml 2022-07-21 03:13:09 +02:00
Greg King
dd27a66a7b Install system packages before checking out the repo. 2022-07-21 03:13:09 +02:00
Greg King
c143dd1f41 Added a 64-bit Windows cross-compile.
That compiler catches pointer-integer width mismatches that other compilers ignore.
2022-07-21 03:13:09 +02:00
Greg King
32253a4e51 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.
2022-07-21 03:13:09 +02:00
Greg King
67fc9a4d36 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.
2022-07-21 03:13:09 +02:00
polluks2
6c1c260e7b Create c-cpp.yml 2022-07-21 03:13:09 +02: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