From 91e6e3c8630dbda94618d671e506bde2883aaaff Mon Sep 17 00:00:00 2001 From: Bernd Schubert Date: Sun, 19 Feb 2023 01:29:23 +0100 Subject: Add a github actions file converted from travis with _sligh_ editing by https://akx.github.io/travis-to-github-actions/ --- .github/workflows/pr-ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/pr-ci.yml diff --git a/.github/workflows/pr-ci.yml b/.github/workflows/pr-ci.yml new file mode 100644 index 0000000..e1007f8 --- /dev/null +++ b/.github/workflows/pr-ci.yml @@ -0,0 +1,26 @@ +name: Converted Workflow +on: + push: + branches: + - master + pull_request: + branches: + - master +jobs: + build: + runs-on: '${{ matrix.os }}' + strategy: + matrix: + os: + # 18.04 does not work because of ‘no_sanitize’ attribute + # cc1: all warnings being treated as errors + # - ubuntu-18.04 + - ubuntu-latest + steps: + - name: Install dependencies (Ubuntu) + if: runner.os == 'Linux' + run: sudo apt-get update && sudo apt-get install -y clang doxygen gcc gcc-10 gcc-9 libstdc++-10-dev libstdc++-9-dev ninja-build python3-pip python3-setuptools valgrind + - uses: actions/checkout@v3 + - run: test/travis-install.sh + - run: test/travis-build.sh + -- cgit v1.2.1