forked from intel/haxm
-
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.
Merge branch 'intel:master' into master
- Loading branch information
Showing
129 changed files
with
2,659 additions
and
2,345 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,52 @@ | ||
name: HAXM build on Windows, macOS and Linux | ||
|
||
on: [push, pull_request] | ||
|
||
env: | ||
# Path to the solution file relative to the root of the project. | ||
SOLUTION_FILE_PATH: . | ||
BUILD_CONFIGURATION: Release | ||
|
||
jobs: | ||
my_first_job: | ||
name: Windows build | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Add MSBuild to PATH | ||
uses: microsoft/setup-msbuild@v1 | ||
- name: Install related pkg | ||
run: | | ||
choco install -y nuget.commandline | ||
choco install -y windowsdriverkit10 | ||
choco install -y windows-sdk-8.1 | ||
- name: Build | ||
run: | | ||
cd platforms/windows | ||
nuget restore | ||
msbuild haxm.sln /p:Configuration="Debug" /p:Platform="Win32" | ||
msbuild haxm.sln /p:Configuration="Debug" /p:Platform="x64" | ||
./build/tests/x64/Debug/haxm-tests.exe | ||
my_second_job: | ||
name: macOS build | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: macOS build | ||
run: | | ||
brew install nasm | ||
cd platforms/darwin | ||
xcodebuild -configuration Debug -sdk macosx ARCHS=x86_64 | ||
my_third_job: | ||
name: Linux build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Linux build on Ubuntu | ||
shell: bash | ||
run: | | ||
wget -P /tmp/downloads http://mirrors.kernel.org/ubuntu/pool/universe/n/nasm/nasm_2.13.02-0.1_amd64.deb | ||
sudo apt-get install -y dpkg | ||
sudo dpkg -i /tmp/downloads/nasm_2.13.02-0.1_amd64.deb | ||
cd platforms/linux | ||
make |
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
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.