-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci] add workflow using nightlies (#1)
* [ci] add workflow using nightlies tmp tmp * [ci] disable spack-based workflow * [ci] change workflow name * [ci] limit number of cores to compile * [ci] add dummy test * [ci] fix type
- Loading branch information
Showing
4 changed files
with
55 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: CITestsNightlies | ||
on: [push, pull_request] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
SETUP: ["/cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh"] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: cvmfs-contrib/github-action-cvmfs@v1 | ||
with: | ||
cvmfs_repositories: 'sw.hsf.org,sw-nightlies.hsf.org,sft-nightlies.cern.ch,sft.cern.ch,geant4.cern.ch' | ||
- name: Start container | ||
run: | | ||
docker run -it --name CI_container -v ${GITHUB_WORKSPACE}:/Package -v /cvmfs:/cvmfs:shared -d clicdp/cc7-lcg /bin/bash | ||
- name: Setup container | ||
run: | | ||
docker exec CI_container /bin/bash -c " ln -s /usr/lib64/liblzma.so.5.2.2 /usr/lib64/liblzma.so;" | ||
- name: Compile | ||
run: | | ||
docker exec CI_container /bin/bash -c 'cd ./Package;\ | ||
source ${{ matrix.SETUP }};\ | ||
mkdir build install;\ | ||
cd build;\ | ||
cmake -DCMAKE_INSTALL_PREFIX=../install -DBUILD_TESTING=ON ..;\ | ||
make -j `getconf _NPROCESSORS_ONLN` install;' | ||
- name: Test | ||
run: | | ||
docker exec CI_container /bin/bash -c 'cd ./Package; source ${{ matrix.SETUP }};\ | ||
cd build;\ | ||
ctest -j `getconf _NPROCESSORS_ONLN` --output-on-failure;' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# k4RecCalorimeter - Key4hep Framework Components for Calorimeter Reconstruction | ||
|
||
|
||
## Dependencies | ||
|
||
All dependencies can be set up from the Key4hep nightly builds (on lxplus / Centos7 machines with CVMFS) | ||
|
||
``` | ||
source /cvmfs/sw-nightlies.hsf.org/key4hep/setup.sh | ||
``` | ||
|
||
* EDM4HEP | ||
* k4FWCore | ||
* DD4hep | ||
* FCCDetectors | ||
* FCC-EDM (will be replaced by EDM4HEP) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters