Skip to content

Commit

Permalink
UltimMC: Fix macOS Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Neptune650 authored Jun 1, 2024
1 parent 65e8bfb commit f16a8fd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ jobs:

build-mac:
name: build-mac
runs-on: macos-latest
runs-on: macos-13

steps:
- uses: actions/checkout@main
Expand All @@ -244,7 +244,6 @@ jobs:
run: |
mkdir build
cd build
export JAVA_HOME=$(/usr/libexec/java_home -v 1.8)
cmake \
-DCMAKE_C_COMPILER=/usr/bin/clang \
-DCMAKE_CXX_COMPILER=/usr/bin/clang++ \
Expand All @@ -266,20 +265,17 @@ jobs:
- name: Compile
run: |
cd build
export JAVA_HOME=$(/usr/libexec/java_home -v 1.8)
make -j$(sysctl -n hw.logicalcpu)
- name: Test
run: |
cd build
export JAVA_HOME=$(/usr/libexec/java_home -v 1.8)
make test
cmake -E remove_directory "/Users/runner/work/UltimMC/build/dist"
- name: Install
run: |
cd build
export JAVA_HOME=$(/usr/libexec/java_home -v 1.8)
make install
chmod +x /Users/runner/work/UltimMC/build/dist/UltimMC.app/Contents/MacOS/UltimMC
Expand Down

0 comments on commit f16a8fd

Please sign in to comment.