summaryrefslogtreecommitdiff
path: root/.github
AgeCommit message (Collapse)AuthorFilesLines
2021-11-22CI: Add mingw32 samplesChris Packham1-0/+2
Add i686-w64-mingw32 and x86_64-w64-mingw32 to the targets built for CI. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-11-14CI: install the latest GNU make on macOSChris Packham1-2/+2
The CI builds currently seem unhappy on macOS when we build make ourselves. Install GNU make via brew so that we don't have to build it ourselves. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-08-24Merge branch 'comp-tools' of https://github.com/cpackham/crosstool-ngChris Packham1-0/+4
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-08-23Add mips-unknown-linux-gnu sampleChris Packham1-1/+3
We have unkown-elf and linux-uclibc already. Complete the set with a linux-gnu configuration. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-08-23CI: Download bison, m4 and makeChris Packham1-0/+4
Various configurations end up using these companion tools (particularly those with GNU libc). Ensure we download these tools at the start of the build. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-08-03CI: Add avr targetChris Packham1-0/+1
Add avr to list of samples to build. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-06-20CI: download tarballsChris Packham1-1/+47
Add a single job to download (most of) the tarballs required. This should allow the CI job to fail early when various sources are off-line and prevent us from unintentionally DDoSing sites that we rely on. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-03-25CI: build sh-unknown-elf instead of sh-multilib-linux-gnuChris Packham1-1/+1
sh-multilib-linux-gnu ends up building 8 different libcs. This seems to be problematic for the github hosted runners as it appears to run them out of disk space (anecdotally this seems to have gotten worse with the switch from ubuntu-18.04 to ubuntu-20.04). Build sh-unknown-elf instead to make sure we cover of the sh architecture to some degree. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-03-09CI: add arm-unknown-linux-musleabi configurationChris Packham1-0/+1
Add a configuration that includes musl libc. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2021-02-16CI: Add miltilibbed Elf32 & glibc configs for ARCAlexey Brodkin1-2/+10
As of today baremetal (AKA "Elf32") & Linux glibc toolchains are even more important than Linux uClibc one for ARC, so adding them. We exclude ARC Linux toolchains from Mac buils as it seem to not make much sense and anyway glibc build for ARC700 fails, see https://github.com/crosstool-ng/crosstool-ng/pull/1456#issuecomment-779150246 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2020-11-11CI: Add MacOS X builds to CI testingKumar Gala1-9/+51
Add building on MacOS X as part of the CI testing. A few notes: * We exclude mips64-unknown-linux-gnu as the linux kernel headers need <byteswap.h> that is a GNU extension to build elf-entry.c and does not exist on Mac OS X. * We create a SPARSE image filesystem to ensure we have are doing the builds in a case sensitive fs. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-11-10CI: Replace add-path commandChris Packham1-1/+1
The add-path and set-env commands are being deprecated[1]. Replace the one instance of add-path in the CI workflow with the recommended alternative[2]. [1] - https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ [2] - https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#adding-a-system-path Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-11-01CI: Add armv6-nommu-linux-uclibcgnueabiChris Packham1-0/+1
Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-09-14CI: Add more architecturesChris Packham1-3/+13
Add arc, mips64, riscv32, riscv64, s390, sh, sparc and xtensa builds to CI job. Also add an arm-picolibc-eabi target. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-09-14CI: Don't enable verbose outputChris Packham1-4/+0
We get the build log via the artifact upload so having it in the action output is redundant (it also tends to get suppressed anyway). Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-08-24CI: Build ct-ng onceChris Packham1-14/+37
Build ct-ng once and use the result to build the toolchains. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-08-24CI: upload build logs as artifactsChris Packham1-0/+14
Upload the config.log from building ct-ng as well as build.log and .config from the toolchain builds. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-08-24CI: Only install packages not already presentChris Packham1-4/+1
The GitHub runners have most of the required packages installed already. Only install the 3 extra that we need for ct-ng. Signed-off-by: Chris Packham <judge.packham@gmail.com>
2020-08-24CI: Create continuous-integration-workflow.ymlChris Packham1-0/+45
Create a continuous integration workflow that builds a few sample configurations. Future improvements would be to have a single job that builds ct-ng and shares the artifacts with the matrix jobs for building the individual toolchains. It would also be a good idea to fetch and cache the various source tarballs. Signed-off-by: Chris Packham <judge.packham@gmail.com>