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
|
# Install (n)Migen / LiteX / Cores
|
||||||
- name: Install LiteX
|
- name: Install LiteX
|
||||||
run: |
|
run: |
|
||||||
python3 litex_setup.py --config=full --init --install --user
|
python3 litex_setup.py --config=full --init --install --user --dev
|
||||||
|
|
||||||
# Install GCC Toolchains
|
# Install GCC Toolchains
|
||||||
- name: Install GCC Toolchains
|
- name: Install GCC Toolchains
|
||||||
|
|
|
@ -449,7 +449,9 @@ def main():
|
||||||
|
|
||||||
# Init.
|
# Init.
|
||||||
if args.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.
|
# Update.
|
||||||
if args.update:
|
if args.update:
|
||||||
|
|
Loading…
Reference in New Issue