Migrate CI to use Fedora (#4)
Co-authored-by: Erki <erki@skullnet.me> Reviewed-on: #4
This commit is contained in:
parent
f64a92aa5c
commit
e6f5315dac
@ -4,15 +4,10 @@ on: [push, pull_request]
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Unit-Tests:
|
Unit-Tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: fedora-cpp
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Prepare environment
|
|
||||||
run: |
|
|
||||||
apt update
|
|
||||||
apt install -y --no-install-recommends build-essential cmake ninja-build
|
|
||||||
|
|
||||||
- name: Configure build
|
- name: Configure build
|
||||||
working-directory: ${{runner.workspace}}
|
working-directory: ${{runner.workspace}}
|
||||||
run: |
|
run: |
|
||||||
@ -29,16 +24,10 @@ jobs:
|
|||||||
working-directory: ${{runner.workspace}}/build
|
working-directory: ${{runner.workspace}}/build
|
||||||
run: ctest . --output-on-failure
|
run: ctest . --output-on-failure
|
||||||
Docs:
|
Docs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: fedora-cpp
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- 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
|
- name: Configure build
|
||||||
working-directory: ${{runner.workspace}}
|
working-directory: ${{runner.workspace}}
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user