-
Notifications
You must be signed in to change notification settings - Fork 198
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 #39 from Qfrost911/master
Update Unicorn version
- Loading branch information
Showing
1,181 changed files
with
491,451 additions
and
225,393 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ | |
#include <atlbase.h> | ||
#pragma warning(pop) | ||
|
||
#include <string> | ||
namespace blackbone | ||
{ | ||
|
||
|
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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
BasedOnStyle: LLVM | ||
IndentWidth: 4 | ||
UseTab: Never | ||
BreakBeforeBraces: Linux | ||
AllowShortIfStatementsOnASingleLine: Never | ||
AllowShortCaseLabelsOnASingleLine: false | ||
AllowShortBlocksOnASingleLine: Empty | ||
AllowShortFunctionsOnASingleLine: Empty | ||
AllowShortLoopsOnASingleLine: false | ||
IndentCaseLabels: false | ||
ColumnLimit: 80 | ||
SortIncludes: false | ||
AllowShortLambdasOnASingleLine: Inline | ||
AlwaysBreakBeforeMultilineStrings: false | ||
BreakStringLiterals: true | ||
PointerAlignment: Right |
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,81 @@ | ||
name: Crate 📦 Distribution | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- ".gitignore" | ||
- "docs/**" | ||
- "README" | ||
- "CREDITS.TXT" | ||
- "COPYING_GLIB" | ||
- "COPYING.LGPL2" | ||
- "AUTHORS.TXT" | ||
- "CHANGELOG" | ||
- "COPYING" | ||
pull_request: | ||
|
||
env: | ||
UNICORN_VERSION: dev | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.config.os }} | ||
name: ${{ matrix.config.name }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
config: | ||
- { | ||
os: windows-2019, | ||
arch: x64, | ||
name: 'Windows x86_64' | ||
} | ||
- { | ||
os: windows-2019, | ||
arch: x86, | ||
name: 'Windows x86' | ||
} | ||
- { | ||
os: ubuntu-latest, | ||
arch: x64, | ||
name: 'Ubuntu x86_64' | ||
} | ||
- { | ||
os: macos-latest, | ||
arch: x64, | ||
name: 'macOS x86_64' | ||
} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: '🛠️ Set up Rust' | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
override: true | ||
default: true | ||
|
||
- name: '🛠️ Activate Developer Command Prompt' | ||
if: contains(matrix.config.os, 'win') | ||
uses: ilammy/msvc-dev-cmd@v1 | ||
with: | ||
arch: ${{ matrix.config.arch }} | ||
|
||
- name: '🛠️ Win build dependencies' | ||
if: contains(matrix.config.os, 'win') | ||
shell: bash | ||
run: | | ||
choco install ninja cmake | ||
- name: '🚧 Cargo test' | ||
if: "!startsWith(github.ref, 'refs/tags')" | ||
run: | | ||
cargo test | ||
- name: '📦 Cargo Publish' | ||
if: startsWith(github.ref, 'refs/tags') && contains(matrix.config.os, 'ubuntu') | ||
env: | ||
TOKEN: ${{ secrets.cratesio_token }} | ||
UNICORN_VERSION: dev | ||
run: | | ||
cargo login $TOKEN && cargo test && cargo publish |
Oops, something went wrong.