Skip to content

Commit

Permalink
Update Cordova
Browse files Browse the repository at this point in the history
commit 4d7f407
Author: Stanley <[email protected]>
Date:   Wed Jan 15 17:14:32 2025 +0800

    Prep CI config to merge with master

commit 8602c34
Author: Stanley <[email protected]>
Date:   Wed Jan 15 15:20:44 2025 +0800

    Update Android Docker image

commit 436dbbb
Author: Stanley <[email protected]>
Date:   Wed Jan 15 15:16:14 2025 +0800

    Change Mac Resource class to M1

commit 7c4d3a2
Author: Stanley <[email protected]>
Date:   Wed Jan 15 15:07:34 2025 +0800

    Mod CI for test build

commit 4aeeb9b
Author: Stanley <[email protected]>
Date:   Wed Jan 15 15:06:56 2025 +0800

    Update ReadMe

commit 6d649ed
Author: Stanley <[email protected]>
Date:   Tue Jan 14 17:23:05 2025 +0800

    Update Cordova
  • Loading branch information
stanleylhs committed Jan 15, 2025
1 parent 503919b commit ed6e90f
Show file tree
Hide file tree
Showing 5 changed files with 3,871 additions and 164 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ jobs:
android_build_and_deploy:
<<: *defaults
docker:
- image: cimg/android:2023.08-browsers
- image: cimg/android:2025.01-browsers
environment:
JVM_OPTS: -Xmx3200m
CIRCLE_ARTIFACTS: /home/circleci/code/cordova/platforms/android/build/outputs/apk
Expand Down Expand Up @@ -216,7 +216,7 @@ jobs:
ios_build_and_deploy:
macos:
xcode: "15.0.0"
resource_class: macos.x86.medium.gen2
resource_class: macos.m1.medium.gen1
working_directory: ~/code
shell: /bin/bash --login -eo pipefail
environment:
Expand Down
21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ ln -s `pwd`/dist `pwd`/cordova/www
cd cordova
# can help to start with a clean env, if android build issues
rm -rf platforms/ plugins/ node_modules/
cordova platform add android@12
cordova platform add android@13
# now open Android Studio and build or run gradle in the docker env
```

Expand All @@ -113,7 +113,7 @@ rm -rf node_modules/ platforms/ plugins/
yarn
npm install cordova@12
cordova platform remove android
cordova platform add android@12
cordova platform add android@13
cordova platform remove ios
cordova platform add ios@7

Expand Down Expand Up @@ -184,3 +184,20 @@ Add-MpPreference -ExclusionPath ([System.Environment]::ExpandEnvironmentVariable
Add-MpPreference -ExclusionPath (Get-ItemProperty "HKLM:SOFTWARE\Node.js" | Select-Object -Property InstallPath)
```
````
## Steps for installing Python2
Replace 2.7.18 to the latest available version
```sh
wget https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tgz
sudo tar xzf Python-2.7.18.tgz
cd Python-2.7.18
sudo ./configure --enable-optimizations
sudo make altinstall
sudo ln -sfn '/usr/local/bin/python2.7' '/usr/bin/python2'
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 1
# check with following
sudo update-alternatives --config python
```
Loading

0 comments on commit ed6e90f

Please sign in to comment.