-
Notifications
You must be signed in to change notification settings - Fork 36
49 lines (46 loc) · 1.1 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
41
42
43
44
45
46
47
48
49
name: CI
on:
push:
branches: [ main ]
pull_request:
jobs:
linux_make_check:
runs-on: ubuntu-latest
strategy:
matrix:
scheduler: [nemesis, sherwood]
topology: [hwloc, binders, no]
steps:
- uses: actions/checkout@v2
- name: install hwloc
run: |
sudo apt-get install hwloc libhwloc-dev
hwloc-ls --version
- name: build qthreads
run: |
./autogen.sh
./configure --enable-picky --with-scheduler=${{ matrix.scheduler }} --with-topology=${{ matrix.topology }}
make
- name: make check
run: |
make check
mac_build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: install deps
run: |
brew install autoconf automake libtool
- name: install hwloc
run: |
brew install hwloc
hwloc-ls --version
- name: build qthreads
run: |
./autogen.sh
./configure --enable-picky
make
## Currently hangs on OSX -- https://github.com/Qthreads/qthreads/issues/59
# - name: make check
# run: |
# make check