-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3e6eb79
commit cfe9ba6
Showing
7 changed files
with
37 additions
and
15 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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
FROM dockcross/linux-x86:latest | ||
COPY . /work | ||
RUN chmod +x /work/build.sh | ||
RUN cmake . | ||
ENTRYPOINT ["make"] | ||
ENTRYPOINT ["/work/build.sh"] |
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,4 +1,5 @@ | ||
FROM dockcross/windows-static-x86:latest | ||
COPY . /work | ||
RUN chmod +x /work/build.sh | ||
RUN cmake -DMXE=true . | ||
ENTRYPOINT ["make"] | ||
ENTRYPOINT ["/work/build.sh"] |
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,17 +1,19 @@ | ||
version: '2' | ||
version: "2" | ||
|
||
tasks: | ||
build: | ||
deps: [build:linux, build:windows] | ||
|
||
build:linux: | ||
cmds: | ||
- rm -rf builds/SKY.so | ||
- mkdir -p builds | ||
- docker build -f Dockerfile.linux -t oscar-broman/sky:linux . | ||
- docker run --volume=$(pwd)/builds:/work/builds oscar-broman/sky:linux | ||
- rm -rf builds/SKY.so | ||
- mkdir -p builds | ||
- docker build -f Dockerfile.linux -t oscar-broman/sky:linux . | ||
- docker run --volume=$(pwd)/builds:/work/builds oscar-broman/sky:linux | ||
|
||
build:windows: | ||
cmds: | ||
- rm -rf builds/SKY.dll | ||
- mkdir -p builds | ||
- docker build -f Dockerfile.windows -t oscar-broman/sky:windows . | ||
- docker run --volume=$(pwd)/builds:/work/builds oscar-broman/sky:windows | ||
cmds: | ||
- rm -rf builds/SKY.dll | ||
- mkdir -p builds | ||
- docker build -f Dockerfile.windows -t oscar-broman/sky:windows . | ||
- docker run --volume=$(pwd)/builds:/work/builds oscar-broman/sky:windows |
Submodule cmake-modules
updated
from 368c98 to b5ec03
Submodule subhook
updated
from c1c7be to 29cb47
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