Bump version to 0.1.1 #3
Workflow file for this run
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
| # Builds a Release DMG on every version tag and attaches it to the GitHub | |
| # Release. The C++ engine build (~15 min) dominates the runtime — the rest | |
| # is fast. Trigger manually from the Actions tab for a test run. | |
| # | |
| # First release can also be made manually: run `./build.sh release` locally | |
| # and upload build/release/Aevum-<ver>.dmg to a new GitHub Release. | |
| name: Release | |
| on: | |
| push: | |
| tags: ['v*'] | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| build: | |
| runs-on: macos-14 | |
| steps: | |
| - name: Checkout (with submodules) | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install xcodegen | |
| run: brew install xcodegen | |
| - name: Set up uv + Python 3.12 | |
| uses: astral-sh/setup-uv@v3 | |
| with: | |
| version: latest | |
| - name: Create venv + install magenta-rt[mlx], cmake<3.28 | |
| run: | | |
| uv venv --python 3.12 .venv | |
| uv pip install "magenta-rt[mlx]" "cmake<3.28" | |
| - name: Build + package DMG | |
| run: ./build.sh release | |
| - name: Resolve DMG path | |
| id: dmg | |
| run: | | |
| dmg=$(ls build/release/Aevum-*.dmg | head -1) | |
| echo "path=$dmg" >> "$GITHUB_OUTPUT" | |
| echo "name=$(basename "$dmg")" >> "$GITHUB_OUTPUT" | |
| - name: Upload DMG to the Release | |
| if: startsWith(github.ref, 'refs/tags/') | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: ${{ steps.dmg.outputs.path }} | |
| fail_on_unmatched_files: true |