Merge unified translations (adds Spanish support) #32
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
on: [push, pull_request] | |
name: Build | |
jobs: | |
Build: | |
runs-on: 'macOS-latest' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
shell: bash | |
run: | | |
echo Downloading R ... | |
curl -s -LO https://mac.r-project.org/big-sur/last-success/R-release-x86_64.tar.xz | |
echo Unpacking R ... | |
sudo rm -rf /Library/Frameworks/R.framework | |
if [ ! -e /Library/Frameworks ]; then mkdir -p /Library/Frameworks; fi | |
sudo tar fxz R-release-x86_64.tar.xz -C /Library/Frameworks/ | |
mkdir -p build/logs | |
for bld in Release Debug; do | |
echo Build $bld .. | |
xcodebuild -configuration $bld -arch x86_64 2>&1 | tee build/logs/$bld.log | |
done | |
echo Pack ... | |
mkdir R-GUI-build | |
mv build/Debug R-GUI-build/ | |
mv build/Release R-GUI-build/ | |
mv build/logs R-GUI-build/ | |
hdiutil create -srcfolder R-GUI-build R-GUI-build.dmg | |
- name: Upload build results | |
uses: actions/upload-artifact@master | |
with: | |
path: R-GUI-build.dmg | |
name: R-GUI-build |