Permalink
Cannot retrieve contributors at this time
25 lines (25 sloc)
770 Bytes
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
codeql-action/pr-checks/checks/cpp-deptrace-disabled.yml
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
name: "Cpp: disabling autoinstalling dependencies" | |
description: "Checks that running C/C++ autobuild with autoinstalling dependencies explicitly disabled works" | |
operatingSystems: ["ubuntu", "macos"] | |
env: | |
DOTNET_GENERATE_ASPNET_CERTIFICATE: "false" | |
steps: | |
- name: Test setup | |
shell: bash | |
run: | | |
cp -a ../action/tests/cpp-autobuild autobuild-dir | |
- uses: ./../action/init | |
with: | |
languages: cpp | |
tools: ${{ steps.prepare-test.outputs.tools-url }} | |
- uses: ./../action/autobuild | |
with: | |
working-directory: autobuild-dir | |
env: | |
CODEQL_EXTRACTOR_CPP_AUTOINSTALL_DEPENDENCIES: false | |
- shell: bash | |
run: | | |
if ls /usr/bin/errno; then | |
echo "Did autoinstall errno, and it should not have" | |
exit 1 | |
fi |