summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Schubert <bschubert@ddn.com>2023-02-19 01:29:23 +0100
committerNikolaus Rath <Nikolaus@rath.org>2023-02-20 10:08:25 +0000
commit91e6e3c8630dbda94618d671e506bde2883aaaff (patch)
tree17959c03712580d84f33a395bbc8bc3d167d9d2c
parent3f65bb699cd2f0afe2b9519c39d29922229f2168 (diff)
downloadfuse-91e6e3c8630dbda94618d671e506bde2883aaaff.tar.gz
Add a github actions file
converted from travis with _sligh_ editing by https://akx.github.io/travis-to-github-actions/
-rw-r--r--.github/workflows/pr-ci.yml26
1 files changed, 26 insertions, 0 deletions
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
+