Merge pull request #28 from heckerpowered/heckerpowered/dev #68
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
name: Publish to GitHub | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup xmake | |
uses: xmake-io/github-action-setup-xmake@v1 | |
with: | |
xmake-version: latest | |
- name: Setup Homebrew | |
run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
- name: Setup LLVM | |
run: brew install llvm | |
- name: Setup Build Script | |
if: ${{ runner.os != 'Windows' }} | |
run: chmod +x build.sh | |
- name: Build | |
run: ./build.sh | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Mamba | |
path: | | |
build/macosx/arm64/release/Jvav | |
build/windows/x64/release/Jvav.exe |