Commit Graph

17 Commits

Author SHA1 Message Date
Petro Karashchenko 88369d54c4 Revert "tools/cibuild.sh: Download risc-v toolchain with --no-check-certificate"
This reverts commit 3b97e37b52.
2022-04-19 09:56:26 +08:00
Xiang Xiao 3b97e37b52 tools/cibuild.sh: Download risc-v toolchain with --no-check-certificate
untils SiFive update their certification

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-18 17:07:21 +03:00
Xiang Xiao a3e2b0a992 tools/cibuild.sh: Migrate risc-v toolchian from 8.3.0 to 10.2.0
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-18 17:07:21 +03:00
Petro Karashchenko b302173f31 Revert "zig-build added"
This reverts commit 4880613b26.
2022-03-16 22:17:16 +02:00
Matheus Catarino França 4880613b26 zig-build added
zig install added on CI - fixed

Docker - zig install

parent 5d2e3573c25b48ba7c3d697de11e64896e818aea
author Matheus Catarino França <matheus-catarino@hotmail.com> 1647344723 -0300
committer Matheus Catarino França <matheus-catarino@hotmail.com> 1647344723 -0300

zig-build added

zig install added on CI - fixed

Docker - zig install

CI - replace wget2curl

rm bloat curl command & zig latest version

ZIG_ENV - rm bin folder

ident format

Apply suggestions from code review

Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>

rm arch-zigoptimization

rm arch-zigoptimization ref
2022-03-17 02:09:36 +08:00
Huang Qi 572f961136 ci: Update gcc-arm-none-eabi to 10.3-2021.10
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-03-02 15:41:56 +08:00
Piet c5bdbc810d ci: get rust copied to final image. 2022-02-21 16:58:29 -08:00
Piet bb3d8c35e4 ci: add Rust compiler suite 2022-02-20 10:30:30 +08:00
zouboan 09d57de7ec add sparc toolchain to linux docker 2022-02-03 13:20:39 +08:00
Alan Rosenthal 2366795786 Improve dependencies for `dirlinks`.
This PR updates the dependencies for `dirlinks` so they're all real files. This allows `dirlinks` rule to not have to be rerun every time.
This PR also changes the name from `dirlinks` to `.dirlinks`, since a file named `.dirlinks` is created to denote that all symlinks have been created

Changes:
* tools/link.sh
  * link.sh now detects broken symlinks. Previously, it would return `0` if the symlink existed, but didn't point to anything.

* tools/Makefile.unix
  * Added dependencies to symlinks as order-only prerequisites. See https://www.gnu.org/software/make/manual/html_node/Prerequisite-Types.html
  * Removed `touch` from symlink recipes by specifying them as order only prerequisites.
  * Check Kconfig variables before adding directories as symlinks
  * Added rule for `$(TOPDIR)/arch/dummy/Kconfig`
  * Added rule for `$(ARCH_SRC)/board/board`
  * Added pattern rule (similar to `CONTEXTDIRS_DEPS`) for external folder dirlink dependencies
  * Use $(APPDIR) instead of $(CONFIG_APPS_DIR), since on line 64 $(APPDIR) is validated and `realpath` is called on the path
  * Added a rule `clean_dirlinks` to cleanup the symlinks in the correct order

* .gitignore
  * Added ignore rule for `.dirlinks`

Testing
Step 1: configure nuttx:
```
$ (cd tools && ./configure.sh -a ../incubator-nuttx-apps stm32f3discovery:nsh)
```
part of the configure step ends up calling `.dirlinks`.

Step 2: We can confirm that `.dirlinks` doesn't need to be run again by running with the question flag: `--question`
```
$ make .dirlinks --question
$ echo $?
0
```

Step 3: confirm `make` succeeds.
```
make
```
2022-01-03 17:12:18 +01:00
Abdelatif Guettouche 6526966987 tools/ci/cibuild.sh: Update the downloaded ESP Xtensa toolchain.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2021-09-24 18:17:22 -03:00
Gustavo Henrique Nihei 8af91aae3d tools/ci: Omit error message when tool is not found
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-02 14:21:58 +08:00
Gustavo Henrique Nihei 08ae93c1de tools/ci: Fix issues reported by ShellCheck
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-09-02 14:21:58 +08:00
Gustavo Henrique Nihei 23effc505c tools/ci: Install imgtool for CI build
This is mainly required for macOS builds which do not rely on a base
Docker image that would contain imgtool already preinstalled.

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
2021-08-31 11:21:58 +08:00
Gustavo Henrique Nihei 817d81d38f tools/ci: Revert workaround for issue with avr-binutils
avr-binutils homebrew recipe has been fixed upstream:
https://github.com/osx-cross/homebrew-avr/issues/243

This reverts commit 37e30ccc54.
2021-06-12 07:16:23 +09:00
Gustavo Henrique Nihei 37e30ccc54 tools/ci: Workaround conflict with x86_64-elf-binutils after avr-gcc
version bump
2021-06-04 21:04:32 -07:00
Brennan Ashton 15b99d1f4b CI: Migrate ci tooling from testing repository to main os repo 2021-04-05 01:22:48 -05:00