-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Branch commit log: .github/workflows/testing.yml: use github-server-url with actions/checkout misc/Dockerfile.noble: show howto set workdir for test runs misc/Dockerfile.focal, misc/Dockerfile.jammy: remove unused files doc/copyright.ini: add doc/poxy-0.19.1.diff misc/mkcopyright.py: fix pattern syntax doc/Makefile.mk: abort on files without copyright info misc/mkcopyright.py: -e: abort early when a license cannot be determined .github/workflows/testing.yml: apply doc/poxy-0.19.1.diff before building docs doc/poxy-0.19.1.diff: fix poxy-0.19.1 interaction with doxygen-1.9.8 .github/workflows/testing.yml: run containers with --user runner .github/workflows/testing.yml: upgrade build env from Focal to Noble Makefile.mk: only use universal-ctags which is more robust than etags * Check for universal-ctags, make empty TAGS if not present .github/workflows/pages.yml: fix spaces .github/workflows/pages.yml: run on noble-latest and only if tim-janik/anklang * cleanup names and comments * build only if tim-janik/anklang * build on noble-latest misc/Dockerfile.noble: provide Ubuntu 24.04 build environment Makefile.mk: use syntax compatible with etags and ctags Makefile.mk: create ./TAGS in project root if requested Signed-off-by: Tim Janik <[email protected]>
- Loading branch information
Showing
10 changed files
with
153 additions
and
240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,15 +11,13 @@ on: | |
|
||
jobs: | ||
|
||
FocalAssets: | ||
NobleAssets: | ||
runs-on: ubuntu-latest | ||
container: { image: 'ghcr.io/tim-janik/anklang-ci:focal-latest' } | ||
container: { image: 'ghcr.io/tim-janik/anklang-ci:noble-latest', options: --user runner } | ||
steps: | ||
- { uses: actions/[email protected], with: { fetch-depth: 0, submodules: recursive } } | ||
- name: 'Fetch all tags' | ||
run: | | ||
sed 's,[email protected]:,https://github.com/,' -i .git/config ; # fetch without ssh creds | ||
git fetch -f --tags && git describe --always --long ; # Fix actions/checkout#290 | ||
- { uses: actions/[email protected], with: { fetch-depth: 0, submodules: recursive, github-server-url: 'https://github.com' } } | ||
- run: git fetch -f --tags # Fix actions/checkout#290 | ||
- run: git describe --always --long | ||
- name: 'Configure build presets' | ||
run: | | ||
echo -e ' prefix=/\n CC=clang \n CXX=clang++ \n CLANG_TIDY=clang-tidy ' > config-defaults.mk | ||
|
@@ -34,31 +32,28 @@ jobs: | |
UploadDocs: | ||
if: ${{ github.repository == 'tim-janik/anklang' && github.ref == 'refs/heads/trunk' }} | ||
runs-on: ubuntu-latest | ||
container: { image: 'ghcr.io/tim-janik/anklang-ci:focal-latest' } | ||
container: { image: 'ghcr.io/tim-janik/anklang-ci:noble-latest', options: --user runner } | ||
steps: | ||
- { uses: actions/[email protected], with: { fetch-depth: 0, submodules: recursive } } | ||
- name: 'Fetch all tags' | ||
run: | | ||
sed 's,[email protected]:,https://github.com/,' -i .git/config ; # fetch without ssh creds | ||
git fetch -f --tags && git describe --always --long ; # Fix actions/checkout#290 | ||
- { uses: actions/[email protected], with: { fetch-depth: 0, submodules: recursive, github-server-url: 'https://github.com' } } | ||
- run: git fetch -f --tags # Fix actions/checkout#290 | ||
- run: git describe --always --long | ||
- name: 'Configure build presets' | ||
run: | | ||
echo -e ' prefix=/\n CC=clang \n CXX=clang++ \n CLANG_TIDY=clang-tidy ' > config-defaults.mk | ||
- name: 'Upload API Docs' # http://tim-janik.github.io/docs/anklang | ||
run: | | ||
make -j`nproc` all | ||
(umask 0077 && cat <<< "${{ secrets.SSH_ID_GHDOCS4ANKLANG_ECDSA }}" > .git/.ssh_id_ghdocs4anklang) | ||
(cd / && sudo patch -t -p0) <doc/poxy-0.19.1.diff | ||
doc/poxy.sh -b -u | ||
ArchReplay: | ||
runs-on: ubuntu-latest | ||
container: { image: 'ghcr.io/tim-janik/anklang-ci:arch-latest' } | ||
steps: | ||
- { uses: actions/[email protected], with: { fetch-depth: 0, submodules: recursive } } | ||
- name: 'Fetch all tags' | ||
run: | | ||
sed 's,[email protected]:,https://github.com/,' -i .git/config ; # fetch without ssh creds | ||
git fetch -f --tags && git describe --always --long ; # Fix actions/checkout#290 | ||
- { uses: actions/[email protected], with: { fetch-depth: 0, submodules: recursive, github-server-url: 'https://github.com' } } | ||
- run: git fetch -f --tags # Fix actions/checkout#290 | ||
- run: git describe --always --long | ||
- name: 'Configure build presets' | ||
run: | | ||
echo 'prefix=/' > config-defaults.mk ;# reset any previous config-defaults.mk | ||
|
@@ -76,16 +71,14 @@ jobs: | |
if: ${{ always() }} | ||
with: { name: "x11test", path: "out/x11test/" } | ||
|
||
FocalClangTidy: | ||
NobleClangTidy: | ||
if: ${{ ! contains(github.ref, 'refs/tags/') }} | ||
runs-on: ubuntu-latest | ||
container: { image: 'ghcr.io/tim-janik/anklang-ci:focal-latest' } | ||
container: { image: 'ghcr.io/tim-janik/anklang-ci:noble-latest', options: --user runner } | ||
steps: | ||
- { uses: actions/[email protected], with: { fetch-depth: 0, submodules: recursive } } | ||
- name: 'Fetch all tags' | ||
run: | | ||
sed 's,[email protected]:,https://github.com/,' -i .git/config ; # fetch without ssh creds | ||
git fetch -f --tags && git describe --always --long ; # Fix actions/checkout#290 | ||
- { uses: actions/[email protected], with: { fetch-depth: 0, submodules: recursive, github-server-url: 'https://github.com' } } | ||
- run: git fetch -f --tags # Fix actions/checkout#290 | ||
- run: git describe --always --long | ||
- name: 'Configure build presets' | ||
run: | | ||
echo -e ' prefix=/\n CC=clang \n CXX=clang++ \n CLANG_TIDY=clang-tidy ' > config-defaults.mk | ||
|
@@ -106,18 +99,18 @@ jobs: | |
make branch-check BRANCH_CHECK_EXIT=$BRANCH_CHECK_EXIT | ||
Ping-IRC: | ||
needs: [FocalAssets, UploadDocs, ArchReplay, FocalClangTidy] | ||
needs: [NobleAssets, UploadDocs, ArchReplay, NobleClangTidy] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- { uses: actions/[email protected], with: { fetch-depth: 0 } } # Fix actions/checkout#290 | ||
- run: git fetch -f --tags && git submodule update --init --recursive && git describe | ||
- name: Check Jobs | ||
run: | | ||
echo '${{ needs.FocalAssets.result }}' '${{ needs.UploadDocs.result }}' '${{ needs.ArchReplay.result }}' '${{ needs.FocalClangTidy.result }}' | ||
[[ ${{ needs.FocalAssets.result }} =~ success|skipped ]] | ||
echo '${{ needs.NobleAssets.result }}' '${{ needs.UploadDocs.result }}' '${{ needs.ArchReplay.result }}' '${{ needs.NobleClangTidy.result }}' | ||
[[ ${{ needs.NobleAssets.result }} =~ success|skipped ]] | ||
[[ ${{ needs.UploadDocs.result }} =~ success|skipped ]] | ||
[[ ${{ needs.ArchReplay.result }} =~ success|skipped ]] | ||
[[ ${{ needs.FocalClangTidy.result }} =~ success|skipped ]] | ||
[[ ${{ needs.NobleClangTidy.result }} =~ success|skipped ]] | ||
- name: Ping IRC | ||
if: ${{ always() && !env.ACT }} | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- ./usr/local/lib/python3.12/dist-packages/poxy/run.orig 2024-11-10 19:50:41.858752777 +0000 | ||
+++ ./usr/local/lib/python3.12/dist-packages/poxy/run.py 2024-11-10 19:50:50.478776979 +0000 | ||
@@ -746,7 +746,7 @@ | ||
|
||
# re-sort members to override Doxygen's weird and stupid sorting 'rules' | ||
if 1: | ||
- sort_members_by_name = lambda tag: tag.find(r'name').text | ||
+ sort_members_by_name = lambda tag: tag.find(r'name').text or '' | ||
members = [tag for tag in section.findall(r'memberdef')] | ||
for tag in members: | ||
section.remove(tag) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.