Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a space #3

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/key4hep-build-cvmfs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Key4hep build

on:
push:
workflow_dispatch:

jobs:
build:
strategy:
matrix:
build_type: ["release", "nightly"]
image: ["alma9", "ubuntu22", "centos7"]
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: key4hep/key4hep-actions/key4hep-build-test@main
with:
build_type: ${{ matrix.build_type }}
image: ${{ matrix.image }}
81 changes: 81 additions & 0 deletions .github/workflows/key4hep-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
name: key4hep-build

on:
push:
branches:
- main
workflow_dispatch:

jobs:
alma9:
runs-on: ubuntu-latest
container:
image: ghcr.io/key4hep/key4hep-images/alma9:latest
strategy:
fail-fast: false
matrix:
release: ["sw.hsf.org/key4hep", "sw-nightlies.hsf.org/key4hep"]
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up CVMFS
uses: cvmfs-contrib/github-action-cvmfs@v3

- name: Setup environment and build
run: |
source ${{ matrix.release }}/setup.sh
mkdir build
cd build
cmake .. -DCMAKE_CXX_STANDARD=17 -DCMAKE_INSTALL_PREFIX=../install -G Ninja
ninja install
ctest -j $(nproc) --output-on-failure

ubuntu:
runs-on: ubuntu-latest
container:
image: ghcr.io/key4hep/key4hep-images/ubuntu22:latest
strategy:
fail-fast: false
matrix:
release: ["sw.hsf.org/key4hep", "sw-nightlies.hsf.org/key4hep"]
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up CVMFS
uses: cvmfs-contrib/github-action-cvmfs@v3

- name: Setup environment and build
run: |
source ${{ matrix.release }}/setup.sh
mkdir build
cd build
cmake .. -DCMAKE_CXX_STANDARD=17 -DCMAKE_INSTALL_PREFIX=../install -G Ninja
ninja install
ctest -j $(nproc) --output-on-failure


centos7:
runs-on: ubuntu-latest
container:
image: ghcr.io/key4hep/key4hep-images/centos7:latest
strategy:
fail-fast: false
matrix:
release: ["sw.hsf.org/key4hep", "sw-nightlies.hsf.org/key4hep"]
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up CVMFS
uses: cvmfs-contrib/github-action-cvmfs@v3

- name: Setup environment and build
run: |
source ${{ matrix.release }}/setup.sh
mkdir build
cd build
cmake .. -DCMAKE_CXX_STANDARD=17 -DCMAKE_INSTALL_PREFIX=../install -G Ninja
ninja install
ctest -j $(nproc) --output-on-failure
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
TERMS AND CON DITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

@@ -198,4 +198,4 @@
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.