Skip to content

Commit

Permalink
rustup targets
Browse files Browse the repository at this point in the history
  • Loading branch information
Codetoil committed Jun 10, 2024
1 parent 2607a13 commit d14411b
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/build-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
- name: Install NodeJS
uses: actions/setup-node@v4
with:
node-version: 20.x
Expand All @@ -29,6 +29,7 @@ jobs:
libssl-dev
libayatana-appindicator3-dev
librsvg2-dev
- run: rustup target add x86_64-unknown-linux-gnu aarch64-unknown-linux-gnu
- run: npm install
- run: npm run build-tauri-arm64-linux
- run: npm run build-tauri-x64-linux
Expand All @@ -45,21 +46,30 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
- name: Install NodeJS
uses: actions/setup-node@v4
with:
node-version: 20.x
- run: rustup target add aarch64-apple-darwin
- run: npm install
- run: npm run build-tauri-arm64-macos
- name: Upload Output
uses: actions/upload-artifact@v3
with:
name: game3d
path: |
src-tauri/target/release/bundle/macos/game3d.app/**
src-tauri/target/release/bundle/dmg/*.dmg
build-windows:
runs-on: windows-2022

steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
- name: Install NodeJS
uses: actions/setup-node@v4
with:
node-version: 20.x
- run: rustup target add x86_64-pc-windows-msvc aarch64-pc-windows-msvc
- run: npm install
- run: npm run build-tauri-arm64-windows
- run: npm run build-tauri-x64-windows
Expand Down

0 comments on commit d14411b

Please sign in to comment.