aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
Commit message (Collapse)AuthorAgeFilesLines
* CI: Use arm-picolibc-default instead of arm-picolibc-eabiChris Packham2023-06-132-5/+1
| | | | | | | | | arm-picolibc-eabi builds many multilib combinations which causes the free tier github action runners to run out of disk space. Use arm-picolibc-default instead so there is still some coverage of picolibc in CI. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Minor yaml cleanupBryan Hundven2023-03-142-0/+2
| | | | | | | This doesn't require running all the pipelines so... [skip ci] Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* CI: Exclude macos,arm-picolibc-eabi combinationChris Packham2023-03-141-0/+4
| | | | | | | | | The arm-picolibc-eabi build runs out of space on the macos makers because of all the multilib permutations. For now disable the macos,arm-picolibc-eabi combination until we can think of something better. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* CI: Use ${{ matrix.sample }} when uploading artifactsChris Packham2023-02-131-2/+2
| | | | | | | Update some hard coded names to use ${{ matrix.sample }} instead. This will allow us to upload other artifacts in the future. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* CI: Disable python support in GDB on macosChris Packham2022-12-041-0/+1
| | | | | | | | | | | | There appears to be a problem with GDB+Python+MacOS Error: [ERROR] configure: error: no usable python found at /usr/local/bin/python3 Error: make[2]: *** [Makefile:11454: configure-gdb] Error 1 Error: make[1]: *** [Makefile:1030: all] Error 2 For now disable CT_GDB_CROSS_PYTHON on macos. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Bump ubuntu to ubuntu-22.04Bryan Hundven2022-10-272-10/+10
| | | | Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* CI: Update action versionsChris Packham2022-10-182-10/+10
| | | | | | | | https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/ Update to v3 version of affected actions. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* loongarch64: add sample configJiajie Chen2022-08-191-0/+1
| | | | | | | | Add sample config for target loongarch64-unknown-linux-gnu. Currently, it fails to build on macOS due to flex/bison incompatibility. Signed-off-by: Jiajie Chen <c@jia.je>
* CI: Update to macos-latestChris Packham2022-07-282-7/+7
| | | | | | Update the CI actions from macos-10.15 to macos-latest. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* CI: Install meson and ninja when buildingChris Packham2022-07-272-2/+2
| | | | | | | Add meson and ninja-build to the prerequisites so we actually build picolibc. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* CI: Add fetch mingw sourcesChris Packham2022-07-271-1/+2
| | | | | | | | Add x86_64-w64-mingw32 to the list of samples we use to fetch sources. This should pick up the mingw related tarballs so the build steps that follow don't have to. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* CI: add Canadian Cross build jobArtem Panfilov2022-02-202-93/+149
| | | | Signed-off-by: Artem Panfilov <artemp@synopsys.com>
* CI: sort sample lines ascending orderArtem Panfilov2022-02-201-1/+1
| | | | Signed-off-by: Artem Panfilov <artemp@synopsys.com>
* CI: auto reformat YAMLArtem Panfilov2022-02-201-42/+35
| | | | Signed-off-by: Artem Panfilov <artemp@synopsys.com>
* CI: Add mingw32 samplesChris Packham2021-11-221-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>
* CI: install the latest GNU make on macOSChris Packham2021-11-141-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>
* Merge branch 'comp-tools' of https://github.com/cpackham/crosstool-ngChris Packham2021-08-241-0/+4
|\ | | | | | | Signed-off-by: Chris Packham <judge.packham@gmail.com>
| * CI: Download bison, m4 and makeChris Packham2021-08-231-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>
* | Add mips-unknown-linux-gnu sampleChris Packham2021-08-241-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>
* CI: Add avr targetChris Packham2021-08-031-0/+1
| | | | | | Add avr to list of samples to build. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* CI: download tarballsChris Packham2021-06-201-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>
* CI: build sh-unknown-elf instead of sh-multilib-linux-gnuChris Packham2021-03-251-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>
* CI: add arm-unknown-linux-musleabi configurationChris Packham2021-03-091-0/+1
| | | | | | Add a configuration that includes musl libc. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* CI: Add miltilibbed Elf32 & glibc configs for ARCAlexey Brodkin2021-02-161-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>
* CI: Add MacOS X builds to CI testingKumar Gala2020-11-111-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>
* CI: Replace add-path commandChris Packham2020-11-101-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>
* CI: Add armv6-nommu-linux-uclibcgnueabiChris Packham2020-11-011-0/+1
| | | | Signed-off-by: Chris Packham <judge.packham@gmail.com>
* CI: Add more architecturesChris Packham2020-09-141-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>
* CI: Don't enable verbose outputChris Packham2020-09-141-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>
* CI: Build ct-ng onceChris Packham2020-08-241-14/+37
| | | | | | Build ct-ng once and use the result to build the toolchains. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* CI: upload build logs as artifactsChris Packham2020-08-241-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>
* CI: Only install packages not already presentChris Packham2020-08-241-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>
* CI: Create continuous-integration-workflow.ymlChris Packham2020-08-241-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>