Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[skip ci]
- Loading branch information
Showing
4 changed files
with
67 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Prebuilt artifacts | ||
|
||
Following [our build instructions](build.md) step-by-step can be a very | ||
time-consuming task. To speed up the process, prebuilt artifacts are available. | ||
|
||
- Instead of running `docker-compose build`, you can pull container | ||
[`ipasim/build`](https://hub.docker.com/r/ipasim/build): | ||
|
||
```bash | ||
docker pull ipasim/build | ||
``` | ||
|
||
- Instead of running `./scripts/build.ps1`, you can pull container | ||
[`ipasim/artifacts`](https://hub.docker.com/r/ipasim/artifacts) and then start | ||
the container like this: | ||
|
||
```bash | ||
docker pull ipasim/artifacts | ||
docker tag ipasim/artifacts ipasim/build | ||
docker-compose run --name ipasim ipasim powershell | ||
``` |
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,34 @@ | ||
# Build instructions | ||
|
||
## Prerequisites | ||
|
||
1. Install [Docker Desktop for | ||
Windows](https://hub.docker.com/editions/community/docker-ce-desktop-windows). | ||
2. [Switch to Windows | ||
containers](https://docs.docker.com/docker-for-windows/#switch-between-windows-and-linux-containers). | ||
3. Install [Visual Studio](https://visualstudio.microsoft.com/) (around version | ||
2019). | ||
|
||
## Build process | ||
|
||
Inside the repository root, run: | ||
|
||
```bash | ||
docker-compose build | ||
docker-compose run --name ipasim ipasim powershell | ||
``` | ||
|
||
Once inside the built container, run: | ||
|
||
```bash | ||
./scripts/build.ps1 | ||
./scripts/extract.ps1 Release | ||
``` | ||
|
||
Finally, open `src/IpaSimulator/IpaSimApp.sln` in Visual Studio and run it (in | ||
configuration `Release`). Alternatively, you can use `Debug` configuration, but | ||
then you have to execute command `./scripts/extract.ps1 Debug` instead of the | ||
one mentioned above. | ||
|
||
If you don't want to build everything from scratch, you can [use prebuilt | ||
artifacts](artifacts.md). |