mirror of
https://github.com/gopher64/gopher64.git
synced 2026-07-11 01:25:20 +02:00
+1
-7
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user