Skip to content

Commit

Permalink
[oem] reactivate ci for x230/t430
Browse files Browse the repository at this point in the history
  • Loading branch information
daringer committed Jul 2, 2023
1 parent 12ea583 commit f7019e8
Showing 1 changed file with 54 additions and 54 deletions.
108 changes: 54 additions & 54 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ build-nitropad-nv4x:
stage: build
script:
- make BOARD=nitropad-nv41 || true
- rm -rf build/x86/openssl
- rm -rf build/x86/openssl-*
- make BOARD=nitropad-nv41
- ./create-npf.sh nitropad-nv41
- mkdir -p artifacts
Expand All @@ -53,7 +53,7 @@ build-nitropad-ns5x:
stage: build
script:
- make BOARD=nitropad-ns50 || true
- rm -rf build/x86/openssl
- rm -rf build/x86/openssl-*
- make BOARD=nitropad-ns50
- ./create-npf.sh nitropad-ns50
- mkdir -p artifacts
Expand All @@ -67,55 +67,55 @@ build-nitropad-ns5x:
expire_in: 30 hrs


#build-heads-x230:
# image: registry.git.nitrokey.com/nitrokey/heads/heads-build:latest
# rules:
# - if: '$CI_PIPELINE_SOURCE == "push"'
# - if: '$CI_PIPELINE_SOURCE == "schedule"'
# tags:
# - docker
# stage: build
# script:
# - make BOARD=x230-hotp-verification
# - ./create-npf.sh x230-hotp-verification
# - blobs/xx30/download_clean_me.sh
# - make BOARD=x230-hotp-maximized
# - ./create-npf.sh x230-hotp-maximized
# - mkdir -p artifacts
# - find /builds/ -name "*.rom"
# - find /builds/ -name "*.npf"
# - find /builds/ -name "heads*.rom" -exec cp "{}" artifacts/ \;
# - find /builds/ -name "*.npf" -exec cp "{}" artifacts/ \;
# after_script:
# - wget $icon_server/checkmark/$CI_COMMIT_REF_NAME/$CI_COMMIT_SHA/$CI_JOB_NAME/$CI_JOB_STATUS/${CI_JOB_URL#*/*/*/}
# artifacts:
# paths:
# - artifacts
# expire_in: 30 hrs
#
#build-heads-t430:
# image: registry.git.nitrokey.com/nitrokey/heads/heads-build:latest
# rules:
# - if: '$CI_PIPELINE_SOURCE == "push"'
# - if: '$CI_PIPELINE_SOURCE == "schedule"'
# tags:
# - docker
# stage: build
# script:
# - make BOARD=t430-hotp-verification
# - ./create-npf.sh t430-hotp-verification
# - blobs/xx30/download_clean_me.sh
# - make BOARD=t430-hotp-maximized
# - ./create-npf.sh t430-hotp-maximized
# - mkdir -p artifacts
# - ls /builds/
# - find /builds/ -name "*.rom"
# - find /builds/ -name "*.npf"
# - find /builds/ -name "heads*.rom" -exec cp "{}" artifacts/ \;
# - find /builds/ -name "*.npf" -exec cp "{}" artifacts/ \;
# after_script:
# - wget $icon_server/checkmark/$CI_COMMIT_REF_NAME/$CI_COMMIT_SHA/$CI_JOB_NAME/$CI_JOB_STATUS/${CI_JOB_URL#*/*/*/}
# artifacts:
# paths:
# - artifacts
# expire_in: 30 hrs
build-heads-x230:
image: registry.git.nitrokey.com/nitrokey/heads/heads-build:latest
rules:
- if: '$CI_PIPELINE_SOURCE == "push"'
- if: '$CI_PIPELINE_SOURCE == "schedule"'
tags:
- docker
stage: build
script:
- make BOARD=x230-hotp-legacy
- ./create-npf.sh x230-hotp-legacy
- blobs/xx30/download_clean_me.sh
- make BOARD=x230-hotp-maximized
- ./create-npf.sh x230-hotp-maximized
- mkdir -p artifacts
- find /builds/ -name "*.rom"
- find /builds/ -name "*.npf"
- find /builds/ -name "heads*.rom" -exec cp "{}" artifacts/ \;
- find /builds/ -name "*.npf" -exec cp "{}" artifacts/ \;
after_script:
- wget $icon_server/checkmark/$CI_COMMIT_REF_NAME/$CI_COMMIT_SHA/$CI_JOB_NAME/$CI_JOB_STATUS/${CI_JOB_URL#*/*/*/}
artifacts:
paths:
- artifacts
expire_in: 30 hrs

build-heads-t430:
image: registry.git.nitrokey.com/nitrokey/heads/heads-build:latest
rules:
- if: '$CI_PIPELINE_SOURCE == "push"'
- if: '$CI_PIPELINE_SOURCE == "schedule"'
tags:
- docker
stage: build
script:
- make BOARD=t430-hotp-legacy
- ./create-npf.sh t430-hotp-legacy
- blobs/xx30/download_clean_me.sh
- make BOARD=t430-hotp-maximized
- ./create-npf.sh t430-hotp-maximized
- mkdir -p artifacts
- ls /builds/
- find /builds/ -name "*.rom"
- find /builds/ -name "*.npf"
- find /builds/ -name "heads*.rom" -exec cp "{}" artifacts/ \;
- find /builds/ -name "*.npf" -exec cp "{}" artifacts/ \;
after_script:
- wget $icon_server/checkmark/$CI_COMMIT_REF_NAME/$CI_COMMIT_SHA/$CI_JOB_NAME/$CI_JOB_STATUS/${CI_JOB_URL#*/*/*/}
artifacts:
paths:
- artifacts
expire_in: 30 hrs

0 comments on commit f7019e8

Please sign in to comment.