This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git
The following commit(s) were added to refs/heads/main by this push:
new 7ae1b027e First attempt at a manual build
7ae1b027e is described below
commit 7ae1b027e97154238d5374dcfdd4499a3b651d5b
Author: Mark Thomas <[email protected]>
AuthorDate: Fri May 15 08:34:48 2026 +0100
First attempt at a manual build
---
.github/workflows/codeql.yml | 23 +++++++++++++++--------
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 6f9d8b8e6..b868f4d27 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -21,6 +21,9 @@ on:
- cron: '26 1 * * 3'
workflow_dispatch:
+env:
+ APR_VERSION: 1.7.6
+
jobs:
analyze:
name: Analyze (${{ matrix.language }})
@@ -44,7 +47,7 @@ jobs:
- language: actions
build-mode: none
- language: c-cpp
- build-mode: autobuild
+ build-mode: manual
steps:
- name: Checkout repository
uses: actions/checkout@v4
@@ -76,13 +79,17 @@ jobs:
if: matrix.build-mode == 'manual'
shell: bash
run: |
- echo 'If you are using a "manual" build mode for one or more of the' \
- 'languages you are analyzing, replace this with the commands to
build' \
- 'your code, for example:'
- echo ' make bootstrap'
- echo ' make release'
- exit 1
-
+ echo on
+ curl -L -o apr.zip
https://github.com/apache/apr/archive/refs/tags/$env:APR_VERSION.zip
+ Expand-Archive apr.zip
+ cd apr/apr-$env:APR_VERSION
+ ./buidlconf
+ ./configure
+ make
+ cd ../../native
+ sh buildconf --with-apr=../apr/apr-$env:APR_VERSION
+ ./configure--with-apr=../apr/apr-$env:APR_VERSION
+ make
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
with:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]