Mercurial > p > roundup > code
view .github/workflows/codeql-analysis.yml @ 7625:aa8230de5b94
build: xapian under 3.12 - missing version info in build components
The build with 1.4.18 fails to get the shared library file names
correct. Trying with 1.4.22 as the release against the 1.4.18 dev
libraries to see if it works better.
The sed script I have that munges the configure script to change the
method used for getting the components should work but it obviously
doesn't.
Failure under 3.12:
/usr/bin/install -c -m 644 xapian/__init__.py \
./xapian/__pycache__/__init__..pyc \
./xapian/__pycache__/__init__. \
'/opt/hostedtoolcache/Python/3.12.0-rc.2/x64/lib/python3.12/site-packages/xapian'
/usr/bin/install: cannot stat './xapian/__pycache__/__init__..pyc': No such file or directory
/usr/bin/install: cannot stat './xapian/__pycache__/__init__.': No such file or directory
Success under 3.11 which also needs the sed script:
/usr/bin/install -c -m 644 xapian/__init__.py \
xapian/__pycache__/__init__.cpython-311.pyc \
xapian/__pycache__/__init__.cpython-311.opt-1.pyc \
'/opt/hostedtoolcache/Python/3.11.5/x64/lib/python3.11/site-packages/xapian'
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 11 Sep 2023 02:00:00 -0400 |
| parents | 926ea14c3450 |
| children | bdc81c1e2eec |
line wrap: on
line source
# For most projects, this workflow file will not need changing; you simply need # to commit it to your repository. # # You may wish to alter this file to override the set of languages analyzed, # or to provide custom queries or build logic. # # ******** NOTE ******** # We have attempted to detect the languages in your repository. Please check # the `language` matrix defined below to confirm you have the correct set of # supported CodeQL languages. # ******** NOTE ******** name: "CodeQL" on: push: branches: [ master ] pull_request: # The branches below must be a subset of the branches above branches: [ master ] schedule: - cron: '28 17 * * 1' permissions: contents: read concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: analyze: name: Analyze runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, 'no-github-ci')" permissions: contents: read security-events: write strategy: fail-fast: false matrix: language: [ 'javascript', 'python' ] # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] # Learn more... # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection steps: - name: Checkout repository uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v2.6.0 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. # By default, queries listed here will override any specified in a config file. # Prefix the list here with "+" to use these queries and those in the config file. # queries: ./path/to/local/query, your-org/your-repo/queries@main # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild uses: github/codeql-action/autobuild@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4 # âšī¸ Command-line programs to run using the OS shell. # đ https://git.io/JvXDl # âī¸ If the Autobuild fails above, remove it and uncomment the following three lines # and modify them (or add more) to build your code if your project # uses a compiled language #- run: | # make bootstrap # make release - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
