From e6f5315dacd786a92e9048f2586e01ef5cd2967e Mon Sep 17 00:00:00 2001 From: erki Date: Wed, 7 Feb 2024 07:27:50 +0000 Subject: [PATCH] Migrate CI to use Fedora (#4) Co-authored-by: Erki Reviewed-on: https://git.skullnet.me/erki/skullc-peripherals/pulls/4 --- .gitea/workflows/ci.yml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index c689ae5..be0aa43 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -4,15 +4,10 @@ on: [push, pull_request] jobs: Unit-Tests: - runs-on: ubuntu-latest + runs-on: fedora-cpp steps: - uses: actions/checkout@v3 - - name: Prepare environment - run: | - apt update - apt install -y --no-install-recommends build-essential cmake ninja-build - - name: Configure build working-directory: ${{runner.workspace}} run: | @@ -29,16 +24,10 @@ jobs: working-directory: ${{runner.workspace}}/build run: ctest . --output-on-failure Docs: - runs-on: ubuntu-latest + runs-on: fedora-cpp steps: - uses: actions/checkout@v3 - - name: Prepare environment - run: | - apt update - apt install -y --no-install-recommends build-essential cmake ninja-build doxygen python3-sphinx python3 python3-pip - pip3 install breathe - - name: Configure build working-directory: ${{runner.workspace}} run: |