Remove stay_in_bundle coz it's not working now #280
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: Build | |
on: | |
push: | |
branches: | |
- "**" | |
pull_request: | |
branches: ["main", "dev"] | |
jobs: | |
build-win: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: "recursive" | |
- uses: seanmiddleditch/gha-setup-ninja@master | |
- uses: ilammy/msvc-dev-cmd@v1 | |
with: | |
arch: amd64 | |
- uses: xmake-io/github-action-setup-xmake@v1 | |
with: | |
xmake-version: latest | |
actions-cache-folder: ".xmake-cache" | |
actions-cache-key: "win-ci" | |
- name: Configure | |
run: xmake f -m releasedbg -y | |
- name: Build | |
run: xmake -y | |
- name: Package | |
run: | | |
mv build/windows/x64/releasedbg/stfc-community-patch.dll version.dll | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: stfc-community-patch | |
path: version.dll | |
build-mac: | |
runs-on: macos-14 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: "recursive" | |
- uses: xmake-io/github-action-setup-xmake@v1 | |
with: | |
xmake-version: latest | |
actions-cache-folder: ".xmake-cache" | |
actions-cache-key: "mac-ci" | |
- name: Set up Homebrew | |
id: set-up-homebrew | |
uses: Homebrew/actions/setup-homebrew@master | |
- name: Configure | |
run: xmake f -m releasedbg -y -a x86_64 -v | |
- name: Install brew things | |
run: brew install create-dmg | |
- name: Create App Bundle | |
run: scripts/create-mac-dmg.sh releasedbg | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: stfc-community-patch-installer | |
path: stfc-community-patch-installer.dmg |