Skip to content

Commit 6d4cf41

Browse files
authored
set up GitHub Actions CI; remove .travis.yml; cleanups (#185)
1 parent d45a4e2 commit 6d4cf41

File tree

4 files changed

+43
-74
lines changed

4 files changed

+43
-74
lines changed
File renamed without changes.

.github/workflows/main.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: main
2+
3+
defaults:
4+
run:
5+
shell: bash
6+
7+
on:
8+
push:
9+
branches: [ main ]
10+
pull_request:
11+
branches: [ main ]
12+
schedule:
13+
- cron: '0 13 * * 4'
14+
15+
jobs:
16+
strategy:
17+
matrix:
18+
platform: [ubuntu-latest, macos-12, macos-14, windows-latest]
19+
fail-fast: false
20+
runs-on: ${{ matrix.platform }}
21+
steps:
22+
- uses: actions/checkout@v4.1.1
23+
- uses: jwlawson/actions-setup-cmake@v1.13
24+
- run: |
25+
mkdir build
26+
cd build
27+
cmake $CMAKE_ARGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DBUILD_DOC=ON -DBUILD_TESTING=ON -DDISABLE_REFMAN_PDF=ON ..
28+
make lib
29+
30+
- run: |
31+
cd build
32+
export CTEST_OUTPUT_ON_FAILURE=1
33+
make check-testsuite # Build and check the testsuite
34+
make check-examples # Build and check the examples
35+
# TODO! (fails with error: no such file or directory: 'arrdaxpyf.o')
36+
# - make check-benchmarks # Build and check the benchmarks (takes a long time)
37+
make blitz-doc
38+
sudo make install # Install Blitz++
39+
40+
# TODO: LD_LIBRARY_PATH=/usr/local/lib ${srcdir}/travis-ci/check-wiki-examples.py
41+

.travis.yml

Lines changed: 0 additions & 72 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
[![Build Status](https://travis-ci.org/blitzpp/blitz.svg?branch=master)](https://travis-ci.org/blitzpp/blitz)
2-
[![Windows Build status](http://ci.appveyor.com/api/projects/status/github/blitzpp/blitz?branch=master&svg=true)](https://ci.appveyor.com/project/blitzpp/blitz/branch/master)
1+
[![Github Actions Build Status](https://github.com/blitzpp/blitz/workflows/main/badge.svg?branch=main)](https://github.com/blitzpp/blitz/actions)
2+
[![Windows Build status](http://ci.appveyor.com/api/projects/status/github/blitzpp/blitz?branch=main&svg=true)](https://ci.appveyor.com/project/blitzpp/blitz/branch/main)
33

44
# IMPORTANT NOTICE
55

0 commit comments

Comments
 (0)