mirror of
https://github.com/pound-emu/pound.git
synced 2025-12-13 04:36:57 +00:00
re-add macOS ARM64 to the build.yml
This commit is contained in:
parent
4e090f9c89
commit
077c25d43e
1 changed files with 35 additions and 35 deletions
70
.github/workflows/build.yml
vendored
70
.github/workflows/build.yml
vendored
|
|
@ -138,44 +138,44 @@ jobs:
|
||||||
name: Pound-macOS-x86_64-${{env.BUILD_TYPE}}-${{ needs.get-info.outputs.commit }}-${{ needs.get-info.outputs.shorthash }}
|
name: Pound-macOS-x86_64-${{env.BUILD_TYPE}}-${{ needs.get-info.outputs.commit }}-${{ needs.get-info.outputs.shorthash }}
|
||||||
path: artifact/
|
path: artifact/
|
||||||
|
|
||||||
# macOS-arm64:
|
macOS-arm64:
|
||||||
# name: macOS ARM64
|
name: macOS ARM64
|
||||||
# runs-on: macos-14
|
runs-on: macos-14
|
||||||
# needs: get-info
|
needs: get-info
|
||||||
# steps:
|
steps:
|
||||||
# - uses: actions/checkout@main
|
- uses: actions/checkout@main
|
||||||
# with:
|
with:
|
||||||
# submodules: recursive
|
submodules: recursive
|
||||||
# fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
# - name: Setup latest Xcode
|
- name: Setup latest Xcode
|
||||||
# uses: maxim-lobanov/setup-xcode@v1
|
uses: maxim-lobanov/setup-xcode@v1
|
||||||
# with:
|
with:
|
||||||
# xcode-version: latest-stable
|
xcode-version: latest-stable
|
||||||
|
|
||||||
# - name: Install Dependencies
|
- name: Install Dependencies
|
||||||
# run: |
|
run: |
|
||||||
# brew install ninja llvm
|
brew install ninja llvm
|
||||||
|
|
||||||
# - name: Configure CMake (ARM64)
|
- name: Configure CMake (ARM64)
|
||||||
# run: >
|
run: >
|
||||||
# cmake -G Ninja -B "${{env.BUILD_DIR}}"
|
cmake -G Ninja -B "${{env.BUILD_DIR}}"
|
||||||
# -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
-DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
||||||
# -DCMAKE_C_COMPILER=$(brew --prefix llvm)/bin/clang
|
-DCMAKE_C_COMPILER=$(brew --prefix llvm)/bin/clang
|
||||||
# -DCMAKE_CXX_COMPILER=$(brew --prefix llvm)/bin/clang++
|
-DCMAKE_CXX_COMPILER=$(brew --prefix llvm)/bin/clang++
|
||||||
# -DCMAKE_OSX_ARCHITECTURES=arm64
|
-DCMAKE_OSX_ARCHITECTURES=arm64
|
||||||
# -DCMAKE_OSX_DEPLOYMENT_TARGET=10.15
|
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.15
|
||||||
|
|
||||||
# - name: Build (ARM64)
|
- name: Build (ARM64)
|
||||||
# run: cmake --build "${{env.BUILD_DIR}}" --config ${{env.BUILD_TYPE}} --parallel $(sysctl -n hw.logicalcpu)
|
run: cmake --build "${{env.BUILD_DIR}}" --config ${{env.BUILD_TYPE}} --parallel $(sysctl -n hw.logicalcpu)
|
||||||
|
|
||||||
# - name: Prepare Artifact Folder
|
- name: Prepare Artifact Folder
|
||||||
# run: |
|
run: |
|
||||||
# mkdir -p artifact
|
mkdir -p artifact
|
||||||
# cp -r ${{env.BUILD_DIR}}/Pound artifact/Pound-arm64-macOS-${{env.BUILD_TYPE}}
|
cp -r ${{env.BUILD_DIR}}/Pound artifact/Pound-arm64-macOS-${{env.BUILD_TYPE}}
|
||||||
|
|
||||||
# - name: Upload Artifact
|
- name: Upload Artifact
|
||||||
# uses: actions/upload-artifact@main
|
uses: actions/upload-artifact@main
|
||||||
# with:
|
with:
|
||||||
# name: Pound-macOS-arm64-${{env.BUILD_TYPE}}-${{ needs.get-info.outputs.commit }}-${{ needs.get-info.outputs.shorthash }}
|
name: Pound-macOS-arm64-${{env.BUILD_TYPE}}-${{ needs.get-info.outputs.commit }}-${{ needs.get-info.outputs.shorthash }}
|
||||||
# path: artifact/
|
path: artifact/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue