Compare commits
3 Commits
master
...
2023-09-08
Author | SHA1 | Date | |
---|---|---|---|
|
46f4fb2fa7 | ||
|
6fa257c783 | ||
|
395aa17546 |
@ -6,7 +6,12 @@ date followed by an underscore and a short git revision. To see if specific
|
|||||||
features apply to your model and firmware version, see the
|
features apply to your model and firmware version, see the
|
||||||
[feature matrix](./FEATURES.md).
|
[feature matrix](./FEATURES.md).
|
||||||
|
|
||||||
## unreleased
|
## 2024-02-20
|
||||||
|
|
||||||
|
- lemp12: Fixed PCIe 4.0 drives in PCIe 3.0 slot failing to reinitialize on
|
||||||
|
resume
|
||||||
|
|
||||||
|
## 2023-09-08
|
||||||
|
|
||||||
- adl: Updated CSME to 16.1.25.2124
|
- adl: Updated CSME to 16.1.25.2124
|
||||||
- adl,rpl: Fixed SMMSTORE init sometimes failing
|
- adl,rpl: Fixed SMMSTORE init sometimes failing
|
||||||
|
43
Jenkinsfile
vendored
43
Jenkinsfile
vendored
@ -9,14 +9,7 @@
|
|||||||
|
|
||||||
def all_models = 'addw2 addw3 bonw14 bonw15 darp5 darp6 darp7 darp8 darp9 galp3-c galp4 galp5 galp6 galp7 gaze15 gaze16-3050 gaze16-3060 gaze16-3060-b gaze16-3050 gaze16-3060-b gaze17-3050 gaze17-3060-b gaze18 lemp9 lemp10 lemp11 lemp12 oryp5 oryp6 oryp7 oryp8 oryp9 oryp10 oryp11 serw13'
|
def all_models = 'addw2 addw3 bonw14 bonw15 darp5 darp6 darp7 darp8 darp9 galp3-c galp4 galp5 galp6 galp7 gaze15 gaze16-3050 gaze16-3060 gaze16-3060-b gaze16-3050 gaze16-3060-b gaze17-3050 gaze17-3060-b gaze18 lemp9 lemp10 lemp11 lemp12 oryp5 oryp6 oryp7 oryp8 oryp9 oryp10 oryp11 serw13'
|
||||||
|
|
||||||
def getCommitSha() {
|
|
||||||
sh "git rev-parse HEAD > .git/current-commit"
|
|
||||||
return readFile(".git/current-commit").trim()
|
|
||||||
}
|
|
||||||
|
|
||||||
void setBuildStatus(String state, String message) {
|
void setBuildStatus(String state, String message) {
|
||||||
commit = getCommitSha()
|
|
||||||
|
|
||||||
// FIXME: https://www.jenkins.io/doc/book/pipeline/jenkinsfile/#string-interpolation
|
// FIXME: https://www.jenkins.io/doc/book/pipeline/jenkinsfile/#string-interpolation
|
||||||
sh """
|
sh """
|
||||||
curl \
|
curl \
|
||||||
@ -24,7 +17,7 @@ void setBuildStatus(String state, String message) {
|
|||||||
-H \'Accept: application/vnd.github+json\' \
|
-H \'Accept: application/vnd.github+json\' \
|
||||||
-H \'Authorization: Bearer ${GITHUB_TOKEN}\' \
|
-H \'Authorization: Bearer ${GITHUB_TOKEN}\' \
|
||||||
-H \'X-GitHub-Api-Version: 2022-11-28\' \
|
-H \'X-GitHub-Api-Version: 2022-11-28\' \
|
||||||
https://api.github.com/repos/system76/firmware-open/statuses/${commit} \
|
https://api.github.com/repos/system76/firmware-open/statuses/${GIT_COMMIT} \
|
||||||
-d \'{\"state\": \"${state}\", \"target_url\": \"${BUILD_URL}\", \"description\": \"${message}\"}\'
|
-d \'{\"state\": \"${state}\", \"target_url\": \"${BUILD_URL}\", \"description\": \"${message}\"}\'
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
@ -48,7 +41,7 @@ pipeline {
|
|||||||
|
|
||||||
parameters {
|
parameters {
|
||||||
string(name: 'MODELS', defaultValue: "$all_models", description: 'Space separated list of models to build', trim: true)
|
string(name: 'MODELS', defaultValue: "$all_models", description: 'Space separated list of models to build', trim: true)
|
||||||
string(name: 'GIT_BRANCH', defaultValue: 'master', description: 'Git branch or revision to build', trim: true)
|
string(name: 'SOURCE_BRANCH', defaultValue: 'master', description: 'Git branch or revision to build', trim: true)
|
||||||
}
|
}
|
||||||
|
|
||||||
triggers {
|
triggers {
|
||||||
@ -61,23 +54,26 @@ pipeline {
|
|||||||
setBuildStatus("pending", "Pending")
|
setBuildStatus("pending", "Pending")
|
||||||
slackSend(color: "good", message: "${env.JOB_NAME} - #${env.BUILD_ID} started (<${env.BUILD_URL}|Open>)")
|
slackSend(color: "good", message: "${env.JOB_NAME} - #${env.BUILD_ID} started (<${env.BUILD_URL}|Open>)")
|
||||||
|
|
||||||
checkout([
|
sh """#!/bin/bash
|
||||||
$class: 'GitSCM',
|
# Update submodule URLs because of coreboot
|
||||||
branches: [[name: "${GIT_BRANCH}"]],
|
git submodule sync --recursive
|
||||||
|
"""
|
||||||
|
|
||||||
|
// https://www.jenkins.io/doc/pipeline/steps/params/scmgit/
|
||||||
|
checkout scmGit(
|
||||||
|
branches: [[name: '${SOURCE_BRANCH}']],
|
||||||
extensions: [
|
extensions: [
|
||||||
[
|
lfs(),
|
||||||
$class: 'SubmoduleOption',
|
pruneStaleBranch(),
|
||||||
disableSubmodules: false,
|
pruneTags(true),
|
||||||
|
submodule(
|
||||||
parentCredentials: true,
|
parentCredentials: true,
|
||||||
recursiveSubmodules: true,
|
recursiveSubmodules: true,
|
||||||
reference: '',
|
reference: ''
|
||||||
trackingSubmodules: false
|
),
|
||||||
],
|
|
||||||
[ $class: 'GitLFSPull' ],
|
|
||||||
[ $class: 'PruneStaleBranch' ],
|
|
||||||
],
|
],
|
||||||
userRemoteConfigs: [[url: 'https://github.com/system76/firmware-open']]
|
userRemoteConfigs: [[url: 'https://github.com/system76/firmware-open.git']]
|
||||||
])
|
)
|
||||||
|
|
||||||
sh """#!/bin/bash
|
sh """#!/bin/bash
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
@ -93,6 +89,9 @@ pipeline {
|
|||||||
git clean -dffx
|
git clean -dffx
|
||||||
git submodule foreach --recursive git clean -dff
|
git submodule foreach --recursive git clean -dff
|
||||||
|
|
||||||
|
# FIXME: Rebuild the coreboot toolchain
|
||||||
|
make -C coreboot CPUS="\$(nproc)" crossgcc-i386 crossgcc-x64
|
||||||
|
|
||||||
# EDK2 builds fail if file paths in INFs change from what's in the build cache
|
# EDK2 builds fail if file paths in INFs change from what's in the build cache
|
||||||
pushd edk2; git clean -dffx; popd
|
pushd edk2; git clean -dffx; popd
|
||||||
"""
|
"""
|
||||||
|
2
coreboot
2
coreboot
@ -1 +1 @@
|
|||||||
Subproject commit 1cb13106c972666a88dfe95620d55c856ce14db4
|
Subproject commit 705e7fd6100dfb48aafeb8e0b742fbd07880d9d0
|
Loading…
x
Reference in New Issue
Block a user