Skip to content

Merge unified translations (adds Spanish support) #32

Merge unified translations (adds Spanish support)

Merge unified translations (adds Spanish support) #32

Workflow file for this run

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