diff options
author | Joseph Langley <mightyjo@gmail.com> | 2021-06-10 08:21:30 -0400 |
---|---|---|
committer | Will Estes <westes575@gmail.com> | 2021-08-13 11:16:11 -0400 |
commit | e864186c577bfcb12c0e148a437930e4a5a6cc2a (patch) | |
tree | 136af20f84e54e8e694f701fb7b273ad04e330ea | |
parent | af75357b170ee7c7a67e911e31fef66dc6798332 (diff) | |
download | flex-git-e864186c577bfcb12c0e148a437930e4a5a6cc2a.tar.gz |
fix(action): Let Autobuild do most of the work
Try preparing configure with autogen.sh, then letting codeql-action/autobuild do it's work prior to analysis.
-rw-r--r-- | .github/workflows/codeql-analysis.yml | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 21021fe..309f6b4 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -38,11 +38,11 @@ jobs: # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed steps: - - name: Checkout repository - uses: actions/checkout@v2 - name: Apt run: sudo apt-get install gcc autoconf bison gettext autopoint help2man lzip texinfo texlive - + - name: Checkout repository + uses: actions/checkout@v2 + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v1 @@ -52,11 +52,17 @@ jobs: # 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 expects to start by running configure. + # Run autogen.sh to ensure configure exists. + - name: Autogen + run: | + ./autogen.sh + # 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@v1 + - name: Autobuild + uses: github/codeql-action/autobuild@v1 # âšī¸ Command-line programs to run using the OS shell. # đ https://git.io/JvXDl @@ -65,12 +71,12 @@ jobs: # and modify them (or add more) to build your code if your project # uses a compiled language - - name: Build - run: | - ./autogen.sh - ./configure - make - make check + #- name: Build + # run: | + # ./autogen.sh + # ./configure + # make + # make check - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v1 |