config.yml 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. version: 2
  2. jobs:
  3. build:
  4. docker:
  5. - image: ubuntu:18.04
  6. working_directory: ~/repo
  7. steps:
  8. - checkout
  9. #- restore_cache:
  10. # keys:
  11. # - v1-dependencies-{{ checksum "requirements.txt" }}
  12. # - v1-dependencies-
  13. #- run:
  14. # name: install dependencies
  15. # command: |
  16. # python3 -m venv venv
  17. # . venv/bin/activate
  18. # pip install -r requirements.txt
  19. #- save_cache:
  20. # paths:
  21. # - ./venv
  22. # key: v1-dependencies-{{ checksum "requirements.txt" }}
  23. - run: env | sort
  24. - run: pwd
  25. - run: ls -l
  26. - run: whoami
  27. - run: uname -a
  28. - run: nproc
  29. - run: date > my-artifact
  30. - run: ./setup -y
  31. # nproc one because CircleCI lies about actual CPUs we have (1) and build fails:
  32. # https://ideas.circleci.com/ideas/CCI-I-578
  33. - run: ./build --arch aarch64 --download-dependencies --nproc 1 gem5
  34. - store_artifacts:
  35. path: my-artifact
  36. destination: my-artifact