Fix CI configs to actually work #7
@ -6,20 +6,20 @@ on:
|
||||
jobs:
|
||||
test:
|
||||
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:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Unit test
|
||||
run: just test
|
||||
|
||||
coverage:
|
||||
runs-on: ubuntu-latest
|
||||
container: gitea.shrukanslab.xyz/CppTemplate/dev-environment:latest
|
||||
container: gitea.shrukanslab.xyz/sl-devs/cpp-template/dev-environment:latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Coverage
|
||||
run: just coverage
|
||||
@ -36,20 +36,20 @@ jobs:
|
||||
|
||||
static_analysis:
|
||||
runs-on: ubuntu-latest
|
||||
container: gitea.shrukanslab.xyz/CppTemplate/dev-environment:latest
|
||||
container: gitea.shrukanslab.xyz/sl-devs/cpp-template/dev-environment:latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Static analysis
|
||||
run: just check
|
||||
|
||||
sanitize:
|
||||
runs-on: ubuntu-latest
|
||||
container: gitea.shrukanslab.xyz/CppTemplate/dev-environment:latest
|
||||
container: gitea.shrukanslab.xyz/sl-devs/cpp-template/dev-environment:latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Sanitize
|
||||
run: just sanitize
|
||||
|
||||
@ -6,10 +6,11 @@ on:
|
||||
jobs:
|
||||
build-docs:
|
||||
runs-on: ubuntu-latest
|
||||
container: gitea.shrukanslab.xyz/CppTemplate/dev-environment:latest
|
||||
|
||||
container: gitea.shrukanslab.xyz/sl-devs/cpp-template/dev-environment:latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build docs
|
||||
run: just docs
|
||||
|
||||
@ -8,7 +8,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Docker
|
||||
run: curl -fsSL https://get.docker.com | sh
|
||||
@ -30,7 +30,7 @@ jobs:
|
||||
platforms: linux/amd64
|
||||
push: true
|
||||
tags: |
|
||||
gitea.shrukanslab.xyz/CppTemplate/dev-environment:latest
|
||||
gitea.shrukanslab.xyz/sl-devs/cpp-template/dev-environment:latest
|
||||
|
||||
- name: Logout from Docker Registry
|
||||
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
|
||||
|
||||
# Install node for actions
|
||||
RUN curl -fsSL https://deb.nodesource.com/setup_current.x | bash - && apt-get install -y nodejs
|
||||
|
||||
# Install latest doxygen
|
||||
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 && \
|
||||
|
||||
Reference in New Issue
Block a user