mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
37 lines
1.0 KiB
YAML
37 lines
1.0 KiB
YAML
version: 2
|
|
jobs:
|
|
build:
|
|
docker:
|
|
- image: ubuntu:18.04
|
|
working_directory: ~/repo
|
|
steps:
|
|
- checkout
|
|
#- restore_cache:
|
|
# keys:
|
|
# - v1-dependencies-{{ checksum "requirements.txt" }}
|
|
# - v1-dependencies-
|
|
#- run:
|
|
# name: install dependencies
|
|
# command: |
|
|
# python3 -m venv venv
|
|
# . venv/bin/activate
|
|
# pip install -r requirements.txt
|
|
#- save_cache:
|
|
# paths:
|
|
# - ./venv
|
|
# key: v1-dependencies-{{ checksum "requirements.txt" }}
|
|
- run: env | sort
|
|
- run: pwd
|
|
- run: ls -l
|
|
- run: whoami
|
|
- run: uname -a
|
|
- run: nproc
|
|
- run: date > my-artifact
|
|
- run: ./setup -y
|
|
# nproc one because CircleCI lies about actual CPUs we have (1) and build fails:
|
|
# https://ideas.circleci.com/ideas/CCI-I-578
|
|
- run: ./build --arch aarch64 --download-dependencies --nproc 1 gem5
|
|
- store_artifacts:
|
|
path: my-artifact
|
|
destination: my-artifact
|