mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
Cleanup doxygen CI
Remove unused docker-doxygen Dockerfile. Switch scripts/run-doxygen.sh from bash to sh. Use docker.io/alpine image instead of unsupported hrektts/doxygen
This commit is contained in:
@@ -14,11 +14,7 @@ and an own build machine.
|
|||||||
- `remote_tests_rust.sh` rsyncs to the build machine and runs
|
- `remote_tests_rust.sh` rsyncs to the build machine and runs
|
||||||
`run-rust-test.sh` remotely on the build machine.
|
`run-rust-test.sh` remotely on the build machine.
|
||||||
|
|
||||||
- `doxygen/Dockerfile` specifies an image that contains
|
- `run-doxygen.sh` generates C-docs which are then uploaded to https://c.delta.chat/
|
||||||
the doxygen tool which is used by `run-doxygen.sh`
|
|
||||||
to generate C-docs which are then uploaded
|
|
||||||
via `ci_upload.sh` to `https://c.delta.chat/_unofficial_unreleased_docs/<BRANCH>`
|
|
||||||
(and the master branch is linked to https://c.delta.chat proper).
|
|
||||||
|
|
||||||
|
|
||||||
## Triggering runs on the build machine locally (fast!)
|
## Triggering runs on the build machine locally (fast!)
|
||||||
|
|||||||
@@ -29,16 +29,17 @@ jobs:
|
|||||||
- name: c-docs
|
- name: c-docs
|
||||||
image_resource:
|
image_resource:
|
||||||
source:
|
source:
|
||||||
repository: hrektts/doxygen
|
repository: alpine
|
||||||
type: registry-image
|
type: registry-image
|
||||||
platform: linux
|
platform: linux
|
||||||
run:
|
run:
|
||||||
path: bash
|
path: sh
|
||||||
args:
|
args:
|
||||||
- -exc
|
- -ec
|
||||||
- |
|
- |
|
||||||
|
apk add --no-cache doxygen git
|
||||||
cd deltachat-core-rust
|
cd deltachat-core-rust
|
||||||
bash scripts/run-doxygen.sh
|
scripts/run-doxygen.sh
|
||||||
cd ..
|
cd ..
|
||||||
cp -av deltachat-core-rust/deltachat-ffi/{html,xml} c-docs/
|
cp -av deltachat-core-rust/deltachat-ffi/{html,xml} c-docs/
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
FROM debian:stable
|
|
||||||
|
|
||||||
# this is tagged as deltachat/doxygen
|
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y doxygen
|
|
||||||
@@ -1,6 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
set -ex
|
|
||||||
|
|
||||||
cd deltachat-ffi
|
cd deltachat-ffi
|
||||||
PROJECT_NUMBER=$(git log -1 --format="%h (%cd)") doxygen
|
PROJECT_NUMBER=$(git log -1 --format="%h (%cd)") doxygen
|
||||||
|
|||||||
Reference in New Issue
Block a user