re-enable mac os build (#63)

* re-enable mac os build

* collapse
This commit is contained in:
Logan McNaughton
2024-05-29 07:26:24 -06:00
committed by GitHub
parent 711edef9cc
commit bbb0bd1447
2 changed files with 22 additions and 27 deletions
+1 -7
View File
@@ -1,8 +1,2 @@
[target.x86_64-unknown-linux-gnu]
[build]
rustflags = ["-C", "target-cpu=x86-64-v3"]
[target.x86_64-pc-windows-msvc]
rustflags = ["-C", "target-cpu=x86-64-v3"]
[target.x86_64-apple-darwin]
rustflags = ["-C", "target-cpu=x86-64-v2"]
+21 -20
View File
@@ -48,23 +48,24 @@ jobs:
with:
name: gopher64-windows
path: target/release/gopher64.exe
# build-macos:
# runs-on: macos-13
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: recursive
# - name: Install sdl2 headers
# run: |
# brew install sdl2
# - name: Update rust
# run: |
# rustup update
# - name: Build
# run: |
# cargo build --release -v
# - name: Upload file
# uses: actions/upload-artifact@v4
# with:
# name: gopher64-mac
# path: target/release/gopher64
build-macos:
runs-on: macos-13
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install sdl2 headers
run: |
brew install sdl2
- name: Update rust
run: |
rustup update
- name: Build
run: |
cargo build --release -v
- name: Upload file
uses: actions/upload-artifact@v4
with:
name: gopher64-mac
path: target/release/gopher64