mirror of
https://github.com/EdgeTX/edgetx.git
synced 2025-07-24 00:35:14 +03:00
Add opentx os x build vm and allow more cores to be used for fast mac… (#3947)
* Add opentx os x build vm and allow more cores to be used for fast machines.
This commit is contained in:
parent
73a7027eb9
commit
e580927fc1
3 changed files with 44 additions and 20 deletions
|
@ -1,5 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Stops on first error, echo on
|
||||
set -e
|
||||
set -x
|
||||
|
||||
# Allow variable core usage, default uses two cores, to set 8 cores for example : commit-tests.sh -j8
|
||||
CORES=2
|
||||
for i in "$@"
|
||||
|
@ -16,9 +20,6 @@ case $i in
|
|||
esac
|
||||
done
|
||||
|
||||
# Stops on first error, echo on
|
||||
set -e
|
||||
set -x
|
||||
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
SCRIPT=$(python -c 'import os,sys;print(os.path.realpath(sys.argv[1]))' "$0")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue