Skip to content

Commit

Permalink
set up GitHub Actions CI; remove .travis.yml; cleanups (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
slayoo committed Apr 1, 2024
1 parent d45a4e2 commit 6d4cf41
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 74 deletions.
File renamed without changes.
41 changes: 41 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: main

defaults:
run:
shell: bash

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '0 13 * * 4'

jobs:
strategy:
matrix:
platform: [ubuntu-latest, macos-12, macos-14, windows-latest]
fail-fast: false
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4.1.1
- uses: jwlawson/actions-setup-cmake@v1.13
- run: |
mkdir build
cd build
cmake $CMAKE_ARGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DBUILD_DOC=ON -DBUILD_TESTING=ON -DDISABLE_REFMAN_PDF=ON ..
make lib
- run: |
cd build
export CTEST_OUTPUT_ON_FAILURE=1
make check-testsuite # Build and check the testsuite
make check-examples # Build and check the examples
# TODO! (fails with error: no such file or directory: 'arrdaxpyf.o')
# - make check-benchmarks # Build and check the benchmarks (takes a long time)
make blitz-doc
sudo make install # Install Blitz++
# TODO: LD_LIBRARY_PATH=/usr/local/lib ${srcdir}/travis-ci/check-wiki-examples.py
72 changes: 0 additions & 72 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Build Status](https://travis-ci.org/blitzpp/blitz.svg?branch=master)](https://travis-ci.org/blitzpp/blitz)
[![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)
[![Github Actions Build Status](https://github.com/blitzpp/blitz/workflows/main/badge.svg?branch=main)](https://github.com/blitzpp/blitz/actions)
[![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)

# IMPORTANT NOTICE

Expand Down

0 comments on commit 6d4cf41

Please sign in to comment.