Skip to content

Commit

Permalink
codeql still doesn't work
Browse files Browse the repository at this point in the history
Change-Id: I284fe100cc9fcd50164ad413e4bdbbaef88bb2d3
  • Loading branch information
cooljeanius committed Oct 23, 2023
1 parent 6112efa commit 4241de5
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,18 @@ jobs:
# https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality

- run: if test ! -d build; then mkdir build; else stat build; fi
- name: Create builddirs
run: |
if test ! -d build; then mkdir build; else stat build; fi
if test ! -d /home/runner/work/apple-gdb-1824/build; then \
if test -w /home/runner/work/apple-gdb-1824; then \
mkdir /home/runner/work/apple-gdb-1824/build; \
elif test -w /home/runner/work -o -w /home/runner -o -w /home; then \
mkdir -p /home/runner/work/apple-gdb-1824/build; \
fi; \
else \
stat /home/runner/work/apple-gdb-1824/build; \
fi
- name: Dependencies
if: matrix.language == 'c-cpp'
Expand Down
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,13 @@ ifneq ($(CROSS_TARGETS),)
endif

build-core: configure
$(SUBMAKE) configure
if test "x$(SUBMAKE)" != "x"; then \
test -n "$(SUBMAKE)" && $(SUBMAKE) configure; \
elif test "x$(MAKE)" != "x"; then \
test -n "$(MAKE)" && $(MAKE) configure; \
elif test -x "`which make`"; then \
make configure; \
fi
ifneq ($(NATIVE_TARGETS),)
$(SUBMAKE) $(patsubst %,$(OBJROOT)/%/stamp-build-core, $(NATIVE_TARGETS))
endif
Expand Down

0 comments on commit 4241de5

Please sign in to comment.