Merge branch 'main' of https://gitea.shrukanslab.xyz/sl-devs/cpp-template into convert-ci-to-gitea
This commit is contained in:
@ -6,20 +6,20 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
#container: gitea.shrukanslab.xyz/sl-devs/cpp-template/dev-environment:latest
|
container: gitea.shrukanslab.xyz/sl-devs/cpp-template/dev-environment:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Unit test
|
- name: Unit test
|
||||||
run: just test
|
run: just test
|
||||||
|
|
||||||
coverage:
|
coverage:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: gitea.shrukanslab.xyz/CppTemplate/dev-environment:latest
|
container: gitea.shrukanslab.xyz/sl-devs/cpp-template/dev-environment:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Coverage
|
- name: Coverage
|
||||||
run: just coverage
|
run: just coverage
|
||||||
@ -36,20 +36,20 @@ jobs:
|
|||||||
|
|
||||||
static_analysis:
|
static_analysis:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: gitea.shrukanslab.xyz/CppTemplate/dev-environment:latest
|
container: gitea.shrukanslab.xyz/sl-devs/cpp-template/dev-environment:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Static analysis
|
- name: Static analysis
|
||||||
run: just check
|
run: just check
|
||||||
|
|
||||||
sanitize:
|
sanitize:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: gitea.shrukanslab.xyz/CppTemplate/dev-environment:latest
|
container: gitea.shrukanslab.xyz/sl-devs/cpp-template/dev-environment:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Sanitize
|
- name: Sanitize
|
||||||
run: just sanitize
|
run: just sanitize
|
||||||
|
|||||||
@ -6,10 +6,11 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build-docs:
|
build-docs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: gitea.shrukanslab.xyz/CppTemplate/dev-environment:latest
|
|
||||||
|
container: gitea.shrukanslab.xyz/sl-devs/cpp-template/dev-environment:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Build docs
|
- name: Build docs
|
||||||
run: just docs
|
run: just docs
|
||||||
|
|||||||
@ -8,7 +8,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Docker
|
- name: Install Docker
|
||||||
run: curl -fsSL https://get.docker.com | sh
|
run: curl -fsSL https://get.docker.com | sh
|
||||||
@ -30,7 +30,7 @@ jobs:
|
|||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
gitea.shrukanslab.xyz/CppTemplate/dev-environment:latest
|
gitea.shrukanslab.xyz/sl-devs/cpp-template/dev-environment:latest
|
||||||
|
|
||||||
- name: Logout from Docker Registry
|
- name: Logout from Docker Registry
|
||||||
run: docker logout gitea.shrukanslab.xyz
|
run: docker logout gitea.shrukanslab.xyz
|
||||||
|
|||||||
@ -8,6 +8,9 @@ RUN pip install --break-system-packages meson gcovr
|
|||||||
|
|
||||||
RUN curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/bin
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to /usr/bin
|
||||||
|
|
||||||
|
# Install node for actions
|
||||||
|
RUN curl -fsSL https://deb.nodesource.com/setup_current.x | bash - && apt-get install -y nodejs
|
||||||
|
|
||||||
# Install latest doxygen
|
# Install latest doxygen
|
||||||
RUN wget --progress=bar:force:noscroll https://www.doxygen.nl/files/doxygen-1.10.0.linux.bin.tar.gz && \
|
RUN wget --progress=bar:force:noscroll https://www.doxygen.nl/files/doxygen-1.10.0.linux.bin.tar.gz && \
|
||||||
tar -xzf doxygen-1.10.0.linux.bin.tar.gz && \
|
tar -xzf doxygen-1.10.0.linux.bin.tar.gz && \
|
||||||
|
|||||||
Reference in New Issue
Block a user