-
Notifications
You must be signed in to change notification settings - Fork 3
55 lines (49 loc) · 1.32 KB
/
fabric.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: test latest libfabric
on:
workflow_dispatch:
push:
paths-ignore:
- 'doc/**'
- 'LICENSE'
- '**.md'
jobs:
build:
strategy:
matrix:
name: ["Ubuntu Latest GCC"]
include:
- name: "Ubuntu Latest GCC"
artifact: "Linux.tar.xz"
os: ubuntu-latest
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
if: "!contains(github.event.head_commit.message, 'skip-ci')"
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Install Dependencies (Linux)
run: |
sudo apt-get update -y
if: matrix.os == 'ubuntu-latest'
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Get Sources
uses: actions/checkout@v2
- name: Checkout Spack
uses: actions/checkout@v2
with:
repository: hyoklee/spack
path: ./spack
- name: Run a multi-line script
run: |
. ./spack/share/spack/setup-env.sh
spack install libfabric@main fabrics=rxm,tcp,udp,rxd
spack load libfabric
spack view copy -i /tmp libfabric
ls /tmp/lib/
mkdir build
cd build
cmake ..
make
sudo make install
fabtrun
env:
LD_LIBRARY_PATH: /tmp/lib