From a351cf3645452500ed0ae8488c619e7bb48be145 Mon Sep 17 00:00:00 2001 From: Frederik Bertling Date: Sat, 27 Apr 2024 08:59:49 +0200 Subject: [PATCH] First github action Signed-off-by: Frederik Bertling --- .github/workflows/ci.yaml | 116 ++++++++++++++++++-------------------- 1 file changed, 56 insertions(+), 60 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 326bdfc..cf5d837 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,67 +1,63 @@ name: ci_meson -on: - push: - paths: - - "**.cpp" - - "**.h" - pull_request: - paths: - - "**.cpp" - - "**.h" +on: [push] jobs: linux: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: actions/setup-python@v1 - with: - python-version: '3.x' - - run: pip install meson ninja - - run: meson setup builddir/ - env: - CC: gcc - - run: meson test -C builddir/ -v - - uses: actions/upload-artifact@v1 - if: failure() - with: - name: Linux_Meson_Testlog - path: builddir/meson-logs/testlog.txt - - macos: - runs-on: macos-latest - steps: - - uses: actions/checkout@v1 - - uses: actions/setup-python@v1 - with: - python-version: '3.x' - - run: brew install gcc - - run: pip install meson ninja - - run: meson setup builddir/ - env: - CC: gcc - - run: meson test -C builddir/ -v - - uses: actions/upload-artifact@v1 - if: failure() - with: - name: MacOS_Meson_Testlog - path: builddir/meson-logs/testlog.txt - - windows: - runs-on: windows-latest - steps: - - uses: actions/checkout@v1 - - uses: actions/setup-python@v1 - with: - python-version: '3.x' - - run: pip install meson ninja - - run: meson setup builddir/ - env: - CC: gcc - - run: meson test -C builddir/ -v - - uses: actions/upload-artifact@v1 - if: failure() - with: - name: Windows_Meson_Testlog - path: builddir/meson-logs/testlog.txt \ No newline at end of file + - run: echo "Running" +# linux: +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v1 +# - uses: actions/setup-python@v1 +# with: +# python-version: '3.x' +# - run: pip install meson ninja +# - run: meson setup builddir/ +# env: +# CC: gcc +# - run: meson test -C builddir/ -v +# - uses: actions/upload-artifact@v1 +# if: failure() +# with: +# name: Linux_Meson_Testlog +# path: builddir/meson-logs/testlog.txt +# +# macos: +# runs-on: macos-latest +# steps: +# - uses: actions/checkout@v1 +# - uses: actions/setup-python@v1 +# with: +# python-version: '3.x' +# - run: brew install gcc +# - run: pip install meson ninja +# - run: meson setup builddir/ +# env: +# CC: gcc +# - run: meson test -C builddir/ -v +# - uses: actions/upload-artifact@v1 +# if: failure() +# with: +# name: MacOS_Meson_Testlog +# path: builddir/meson-logs/testlog.txt +# +# windows: +# runs-on: windows-latest +# steps: +# - uses: actions/checkout@v1 +# - uses: actions/setup-python@v1 +# with: +# python-version: '3.x' +# - run: pip install meson ninja +# - run: meson setup builddir/ +# env: +# CC: gcc +# - run: meson test -C builddir/ -v +# - uses: actions/upload-artifact@v1 +# if: failure() +# with: +# name: Windows_Meson_Testlog +# path: builddir/meson-logs/testlog.txt \ No newline at end of file