From 7ecfdd4073c03769caa5470eda9ede0b235efdbb Mon Sep 17 00:00:00 2001 From: Elias Aebi Date: Wed, 26 Feb 2020 19:36:53 +0100 Subject: [PATCH] set up GitHub Actions --- .editorconfig | 4 ++++ .github/workflows/ci.yml | 14 ++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.editorconfig b/.editorconfig index 11eedbb..b0c718b 100644 --- a/.editorconfig +++ b/.editorconfig @@ -8,3 +8,7 @@ end_of_line = lf [gral_windows.cpp] end_of_line = crlf + +[*.yml] +indent_style = space +indent_size = 2 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..234b3f9 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,14 @@ +name: CI +on: push +jobs: + build: + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v3 + - if: runner.os == 'Linux' + run: sudo apt-get install libgtk-3-dev libasound2-dev + - run: cmake -S . -B build -D BUILD_DEMOS + - run: cmake --build build