Merge pull request #372 from luzpaz/typos-various #1
This file contains hidden or 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
| name: MacOS Intel | |
| on: | |
| push: | |
| branches-ignore: | |
| - vulkan | |
| jobs: | |
| ################################### | |
| # # | |
| # FULL BUILDS # | |
| # # | |
| ################################### | |
| macos-full-build: | |
| runs-on: macos-13 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Get machine name | |
| run: | | |
| echo "Machine name: $RUNNER_NAME" | |
| - name: Install ninja-build | |
| run: brew install ninja | |
| - name: Install automake | |
| run: brew install automake curl rsync | |
| - name: Install GNU sed | |
| run: brew install gnu-sed | |
| - name: Install Python dependencies | |
| run: brew install libb2 libffi readline sqlite3 xz zlib | |
| - name: Install pyFLTK dependencies | |
| run: brew install swig | |
| - name: Setup Vulkan SDK | |
| if: github.ref_name == 'vulkan' | |
| run: | | |
| . ./etc/macos/install_vulkan.sh | |
| echo "VULKAN_SDK=${VULKAN_SDK}" >> $GITHUB_ENV | |
| echo "DYLD_LIBRARY_PATH=${VULKAN_SDK}/lib:$DYLD_LIBRARY_PATH" >> $GITHUB_ENV | |
| echo "VK_ICD_FILENAMES=${VULKAN_SDK}/share/vulkan/icd.d/MoltenVK_icd.json" >> $GITHUB_ENV | |
| echo "${VULKAN_SDK}/bin" >> $GITHUB_PATH | |
| # # Verify Vulkan installation | |
| - name: Verify Vulkan | |
| if: github.ref_name == 'vulkan' | |
| run: | | |
| vulkaninfo --summary | |
| - name: Setup environment | |
| run: mkdir -p ssh | |
| - name: Decode SSH key | |
| run: echo "${{ secrets.SSH_PRIVATE_KEY }}" | base64 -d > ssh/id_rsa | |
| shell: bash | |
| - name: Set permissions on SSH key | |
| run: chmod 600 ssh/id_rsa | |
| - name: Decode FLTK SSH key | |
| run: | | |
| mkdir -p ~/.ssh | |
| echo "${{ secrets.FLTK_DEPLOY_KEY }}" > ~/.ssh/id_ed25519 | |
| chmod 600 ~/.ssh/id_ed25519 | |
| ssh-keyscan github.com >> ~/.ssh/known_hosts | |
| - name: Add SourceForge to known_hosts | |
| run: | | |
| mkdir -p ~/.ssh | |
| ssh-keyscan frs.sourceforge.net >> ~/.ssh/known_hosts | |
| - name: Set executable permissions | |
| run: | | |
| chmod +x ./*.sh ./bin/*.sh ./etc/*.sh ./bin/release/*.sh | |
| # - name: Install cmake | |
| # run: | | |
| # ./etc/install_cmake.sh | |
| - name: Build mrv2 | |
| run: | | |
| ./etc/runme_nolog.sh -D TLRENDER_USD=OFF -t package | |
| - name: Upload binaries | |
| if: github.ref_name == 'beta' | |
| run: | | |
| ./bin/release/upload_sourceforge.sh |