-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into mfc-shuffle
- Loading branch information
Showing
95 changed files
with
1,283 additions
and
580 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
#!/bin/sh -ex | ||
|
||
ARTIFACT_DIR="$BUILD_ARTIFACTSTAGINGDIRECTORY" | ||
generate_post_data() | ||
{ | ||
body=$(cat GitHubReleaseMessage.txt) | ||
cat <<EOF | ||
{ | ||
"tag_name": "build-${BUILD_SOURCEVERSION}", | ||
"target_commitish": "7d09e3be30805911226241afbb14f8cdc2eb054e", | ||
"name": "${AVVER}", | ||
"body": "$body", | ||
"draft": false, | ||
"prerelease": false | ||
} | ||
EOF | ||
} | ||
|
||
repo_full_name="RPCS3/rpcs3-binaries-win" | ||
|
||
curl -s \ | ||
-H "Authorization: token ${RPCS3_TOKEN}" \ | ||
-H "Accept: application/vnd.github.v3+json" \ | ||
--data "$(generate_post_data)" "https://api.github.com/repos/$repo_full_name/releases" >> release.json | ||
|
||
cat release.json | ||
id=$(grep '"id"' release.json | cut -d ':' -f2 | head -n1 | awk '{$1=$1;print}') | ||
id=${id%?} | ||
echo ${id:?} | ||
|
||
upload_file() | ||
{ | ||
curl -s \ | ||
-H "Authorization: token ${RPCS3_TOKEN}" \ | ||
-H "Accept: application/vnd.github.v3+json" \ | ||
-H "Content-Type: application/octet-stream" \ | ||
--data-binary @"$2"/"$3" \ | ||
"https://uploads.github.com/repos/$repo_full_name/releases/$1/assets?name=$3" | ||
} | ||
|
||
for file in "$ARTIFACT_DIR"/*; do | ||
name=$(basename "$file") | ||
upload_file "$id" "$ARTIFACT_DIR" "$name" | ||
done |
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
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 |
---|---|---|
|
@@ -43,6 +43,8 @@ namespace utils | |
|
||
bool has_avx512(); | ||
|
||
bool has_avx512_icl(); | ||
|
||
bool has_xop(); | ||
|
||
bool has_clwb(); | ||
|
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
Oops, something went wrong.