Skip to content

Fix macOS build due to missing std::format (#43) #235

Fix macOS build due to missing std::format (#43)

Fix macOS build due to missing std::format (#43) #235

Workflow file for this run

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@v2
with:
name: stfc-community-patch
path: version.dll
build-mac:
runs-on: macos-13
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@v2
with:
name: stfc-community-patch-installer
path: stfc-community-patch-installer.dmg