Merge pull request #1782 from enjoy-digital/ci-dev-test
Switch CI to litex_setup.py --dev.
This commit is contained in:
commit
7d73873741
|
@ -38,7 +38,7 @@ jobs:
|
|||
# Install (n)Migen / LiteX / Cores
|
||||
- name: Install LiteX
|
||||
run: |
|
||||
python3 litex_setup.py --config=full --init --install --user
|
||||
python3 litex_setup.py --config=full --init --install --user --dev
|
||||
|
||||
# Install GCC Toolchains
|
||||
- name: Install GCC Toolchains
|
||||
|
|
|
@ -449,7 +449,9 @@ def main():
|
|||
|
||||
# Init.
|
||||
if args.init:
|
||||
litex_setup_init_repos(config=args.config, tag=args.tag, dev_mode=args.dev)
|
||||
ci_run = (os.environ.get("GITHUB_ACTIONS") == "true")
|
||||
dev_mode = args.dev and (not ci_run)
|
||||
litex_setup_init_repos(config=args.config, tag=args.tag, dev_mode=dev_mode)
|
||||
|
||||
# Update.
|
||||
if args.update:
|
||||
|
|
Loading…
Reference in New Issue