-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
C++: fix autobuild pr-checks for macOS
- Loading branch information
Paolo Tranquilli
committed
Oct 24, 2023
1 parent
54e4af6
commit 959337a
Showing
6 changed files
with
106 additions
and
6 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| name: "Cpp: disabling autoinstalling dependencies" | ||
| description: "Checks that running C/C++ autobuild with autoinstalling dependencies explicitly disabled works" | ||
| operatingSystems: ["macos"] | ||
| versions: ["latest"] | ||
| 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: true | ||
| - shell: bash | ||
| run: | | ||
| if ! ls /usr/bin/errno; then | ||
| echo "As expected, CODEQL_EXTRACTOR_CPP_AUTOINSTALL_DEPENDENCIES is a no-op on macOS" | ||
| else | ||
| echo "CODEQL_EXTRACTOR_CPP_AUTOINSTALL_DEPENDENCIES should not have had any effect on macOS" | ||
| exit 1 | ||
| fi |
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