Merge pull request #4 from Minres/master

Add CI changes
This commit is contained in:
Eyck Jentzsch 2023-12-02 10:14:23 +01:00 committed by GitHub
commit 0fcd5426d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

6
Jenkinsfile vendored
View File

@ -20,7 +20,7 @@ void checkout_hifive_vp() {
submoduleCfg: [], submoduleCfg: [],
userRemoteConfigs: [[ userRemoteConfigs: [[
credentialsId: 'gitea-jenkins', credentialsId: 'gitea-jenkins',
url: 'https://git.minres.com/VP/HIFIVE1-VP.git' url: 'https://github.com/Minres/HIFIVE1-VP.git'
]] ]]
]) ])
} }
@ -29,7 +29,7 @@ void build_hifive_vp() {
try { try {
sh("conan profile new default --detect --force") sh("conan profile new default --detect --force")
sh("conan profile update settings.compiler.libcxx=libstdc++11 default") sh("conan profile update settings.compiler.libcxx=libstdc++11 default")
sh("conan remote add minres https://artifactory.minres.com/artifactory/api/conan/oss --force") sh("conan remote add minres https://git.minres.com/api/packages/Tooling/conan --force")
sh("cmake --version") sh("cmake --version")
} }
catch (exc) { catch (exc) {
@ -46,7 +46,7 @@ void build_hifive_without_scv() {
try { try {
sh("conan profile new default --detect --force") sh("conan profile new default --detect --force")
sh("conan profile update settings.compiler.libcxx=libstdc++11 default") sh("conan profile update settings.compiler.libcxx=libstdc++11 default")
sh("conan remote add minres https://artifactory.minres.com/artifactory/api/conan/oss --force") sh("conan remote add minreshttps://git.minres.com/api/packages/Tooling/conan --force")
sh("cmake --version") sh("cmake --version")
} }
catch (exc) { catch (exc) {

View File

@ -1,4 +1,4 @@
mkdir -f build/Release mkdir -p build/Release
cd build/Release cd build/Release
cmake ../.. -DCMAKE_BUILD_TYPE=RelWithDebInfo && \ cmake ../.. -DCMAKE_BUILD_TYPE=RelWithDebInfo && \
cmake --build . && \ cmake --build . && \