Skip to content

Commit

Permalink
Pin xcffib to 1.6.2
Browse files Browse the repository at this point in the history
This commit pins xcffib library to version 1.6.2 as version
1.7.0 caused cffi error.
This commit also improves CI.

Signed-off-by: Maciej Dudek <[email protected]>
  • Loading branch information
mtdudek committed Jan 14, 2025
1 parent 3664720 commit 3ec11fa
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 29 deletions.
75 changes: 46 additions & 29 deletions .ci.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,50 @@
stages:
- build
- verify
- pre-build
- build-docs
- deploy
- build
- test
- test-upstream

image: $CI_DOCS_DOCKER_IMAGE

build:
stage: build
tags: ['ace-x86_64']
variables:
GIT_SUBMODULE_STRATEGY: normal
before_script:
- pip3 install -r docs/requirements.txt
script:
- cd docs
- make html latexpdf
- cp build/latex/*.pdf build/html/
- tar cf ../$CI_DOCS_ARCHIVE -C build/html/ .
artifacts:
paths:
- $CI_DOCS_ARCHIVE
variables:
GIT_SUBMODULE_STRATEGY: none
YAML_SOURCE_COMMIT: 12f4e6a83f1f81217662033b279eb457cbf904e5

deploy:
variables:
GIT_STRATEGY: none
dependencies:
- build
stage: deploy
tags: ['docs']
script: echo 'Deploying docs'
artifacts:
paths:
- $CI_DOCS_ARCHIVE
include:
- project: 'rowhammer-tester-ci'
ref: 12f4e6a83f1f81217662033b279eb457cbf904e5
file: '/ci-setup.yaml'
- project: 'rowhammer-tester-ci'
ref: 12f4e6a83f1f81217662033b279eb457cbf904e5
file: '/ci-bitstream-setup.yaml'
- project: 'rowhammer-tester-ci'
ref: 12f4e6a83f1f81217662033b279eb457cbf904e5
file: '/ci-hw-setup.yaml'
- project: 'rowhammer-tester-ci'
ref: 12f4e6a83f1f81217662033b279eb457cbf904e5
file: '/pre-build-lint-and-unit-tests.yaml'
- project: 'rowhammer-tester-ci'
ref: 12f4e6a83f1f81217662033b279eb457cbf904e5
file: '/build-docs.yaml'
- project: 'rowhammer-tester-ci'
ref: 12f4e6a83f1f81217662033b279eb457cbf904e5
file: '/deploy-docs.yaml'
- project: 'rowhammer-tester-ci'
ref: 12f4e6a83f1f81217662033b279eb457cbf904e5
file: '/build-ddr5-tester-linux.yaml'
- project: 'rowhammer-tester-ci'
ref: 12f4e6a83f1f81217662033b279eb457cbf904e5
file: '/build-spds.yaml'
- project: 'rowhammer-tester-ci'
ref: 12f4e6a83f1f81217662033b279eb457cbf904e5
file: '/build-bitstreams.yaml'
- project: 'rowhammer-tester-ci'
ref: 12f4e6a83f1f81217662033b279eb457cbf904e5
file: '/tests-platforms.yaml'
- project: 'rowhammer-tester-ci'
ref: 12f4e6a83f1f81217662033b279eb457cbf904e5
file: '/tests-sim.yaml'
- project: 'rowhammer-tester-ci'
ref: 12f4e6a83f1f81217662033b279eb457cbf904e5
file: '/test-upstream-is-up-to-date.yaml'
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
https://github.com/antmicro/antmicro-sphinx-utils/archive/main.zip
sphinx-inline-tabs
sphinx-tippy
xcffib==1.6.2

0 comments on commit 3ec11fa

Please sign in to comment.