forked from github/codeql
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from microsoft/jb1/v2.17.4
Merge upstream/v2.17.4
- Loading branch information
Showing
1,380 changed files
with
75,661 additions
and
57,721 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
7.1.0 | ||
7.1.2 |
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,74 @@ | ||
name: Build runzip | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
ripunzip-version: | ||
description: "what reference to checktout from google/runzip" | ||
required: false | ||
default: v1.2.1 | ||
openssl-version: | ||
description: "what reference to checkout from openssl/openssl for Linux" | ||
required: false | ||
default: openssl-3.3.0 | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-20.04, macos-12, windows-2019] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
repository: google/ripunzip | ||
ref: ${{ inputs.ripunzip-version }} | ||
# we need to avoid ripunzip dynamically linking into libssl | ||
# see https://github.com/sfackler/rust-openssl/issues/183 | ||
- if: runner.os == 'Linux' | ||
name: checkout openssl | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: openssl/openssl | ||
path: openssl | ||
ref: ${{ inputs.openssl-version }} | ||
- if: runner.os == 'Linux' | ||
name: build and install openssl with fPIC | ||
shell: bash | ||
working-directory: openssl | ||
run: | | ||
./config -fPIC --prefix=$HOME/.local --openssldir=$HOME/.local/ssl | ||
make -j $(nproc) | ||
make install_sw -j $(nproc) | ||
- if: runner.os == 'Linux' | ||
name: build (linux) | ||
shell: bash | ||
run: | | ||
env OPENSSL_LIB_DIR=$HOME/.local/lib64 OPENSSL_INCLUDE_DIR=$HOME/.local/include OPENSSL_STATIC=yes cargo build --release | ||
mv target/release/ripunzip ripunzip-linux | ||
- if: runner.os == 'Windows' | ||
name: build (windows) | ||
shell: bash | ||
run: | | ||
cargo build --release | ||
mv target/release/ripunzip ripunzip-windows | ||
- name: build (macOS) | ||
if: runner.os == 'macOS' | ||
shell: bash | ||
run: | | ||
rustup target install x86_64-apple-darwin | ||
rustup target install aarch64-apple-darwin | ||
cargo build --target x86_64-apple-darwin --release | ||
cargo build --target aarch64-apple-darwin --release | ||
lipo -create -output ripunzip-macos \ | ||
-arch x86_64 target/x86_64-apple-darwin/release/ripunzip \ | ||
-arch arm64 target/aarch64-apple-darwin/release/ripunzip | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: ripunzip-${{ runner.os }} | ||
path: ripunzip-* | ||
- name: Check built binary | ||
shell: bash | ||
run: | | ||
./ripunzip-* --version |
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
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
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,5 @@ | ||
[lfs] | ||
# codeql is publicly forked by many users, and we don't want any LFS file polluting their working | ||
# copies. We therefore exclude everything by default. | ||
# For files required by bazel builds, use rules in `misc/bazel/lfs.bzl` to download them on demand. | ||
fetchinclude = /nothing |
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 |
---|---|---|
@@ -1,9 +1 @@ | ||
load("@buildifier_prebuilt//:rules.bzl", "buildifier") | ||
|
||
buildifier( | ||
name = "buildifier", | ||
exclude_patterns = [ | ||
"./.git/*", | ||
], | ||
lint_mode = "fix", | ||
) | ||
exports_files(["LICENSE"]) |
Validating CODEOWNERS rules …
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
Oops, something went wrong.