Rebase v1.4.2 #2
Workflow file for this run
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
name: build | |
on: | |
push: | |
pull_request: | |
schedule: | |
#Every 5 days at midnight | |
- cron: "0 0 1/5 * *" | |
jobs: | |
compilejobFedora: | |
strategy: | |
fail-fast: false | |
matrix: | |
version: [26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40] | |
runs-on: ubuntu-latest | |
name: Binder_on_Fedora${{ matrix.version }} | |
container: | |
image: fedora:${{ matrix.version }} | |
steps: | |
- name: Install | |
run: | | |
set -x | |
uname -a | |
cat /etc/issue | |
yum -y install git zlib zlib-devel ncurses-devel clang clang-devel clang-libs llvm llvm-devel llvm-static \ | |
libcxx-devel cmake make gcc gcc-c++ \ | |
pybind11-devel python3 python3-devel python2 python2-devel && yum -y clean all | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Compile | |
run: | | |
cmake CMakeLists.txt | |
make | |
make install | |
ldd source/binder | |
ldd -u -r source/binder || echo "OK" | |
ctest . --output-on-failure | |
compilejobOSX: | |
runs-on: macos-latest | |
name: Binder_on_OSX | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install | |
run: | | |
set -x | |
brew install wget coreutils xz pybind11 git | |
wget --no-verbose https://github.com/llvm/llvm-project/releases/download/llvmorg-11.0.0/clang+llvm-11.0.0-x86_64-apple-darwin.tar.xz | |
ls | |
tar -xJf clang+llvm-11.0.0-x86_64-apple-darwin.tar.xz | |
export PATH=$PATH:clang+llvm-11.0.0-x86_64-apple-darwin/bin | |
- name: Compile | |
run: | | |
export PATH=$PATH:clang+llvm-11.0.0-x86_64-apple-darwin/bin | |
cmake CMakeLists.txt | |
make | |
make install | |
otool -L source/binder | |
ctest . --output-on-failure | |