-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (35 loc) · 1.03 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
---
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request
# events but only for the main branch
pull_request:
branches: [main, master]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
root:
- "rootproject/root:latest"
#- "rootproject/root:6.20.08-ubuntu20.04"
#- "rootproject/root:6.24.06-arch"
#- "rootproject/root:6.22.06-fedora33"
#- "rootproject/root:6.22.08-centos7"
runs-on: ${{ matrix.os }}
container: ${{ matrix.root }}
steps:
# Checks-out your repository under $GITHUB_WORKSPACE
- uses: actions/checkout@v4
# Runs a set of commands using the runners shell
- name: build
run: |
root-config --version
export EVNDISPSYS=$(echo $GITHUB_WORKSPACE)
export SOFASYS=${EVNDISPSYS}/sofa
./install_sofa.sh CI
make config
make VTS