|
55 | 55 | run: cargo clippy -p openhuman |
56 | 56 |
|
57 | 57 | build: |
58 | | - name: Build Tauri App (${{ matrix.settings.label }}) |
| 58 | + name: Build Tauri App (Linux x86_64) |
59 | 59 | needs: rust-quality |
60 | | - runs-on: ${{ matrix.settings.platform }} |
61 | | - strategy: |
62 | | - fail-fast: false |
63 | | - matrix: |
64 | | - settings: |
65 | | - - platform: ubuntu-22.04 |
66 | | - target: x86_64-unknown-linux-gnu |
67 | | - label: Linux x86_64 |
68 | | - - platform: macos-latest |
69 | | - target: aarch64-apple-darwin |
70 | | - label: macOS ARM64 |
| 60 | + runs-on: ubuntu-22.04 |
71 | 61 | steps: |
72 | 62 | - name: Checkout code |
73 | 63 | uses: actions/checkout@v4 |
|
84 | 74 | - name: Install Rust (rust-toolchain.toml) |
85 | 75 | uses: dtolnay/rust-toolchain@1.93.0 |
86 | 76 | with: |
87 | | - targets: ${{ matrix.settings.target }} |
| 77 | + targets: x86_64-unknown-linux-gnu |
88 | 78 |
|
89 | | - - name: Install Tauri dependencies (Linux) |
90 | | - if: matrix.settings.platform == 'ubuntu-22.04' |
| 79 | + - name: Install Tauri dependencies |
91 | 80 | run: | |
92 | 81 | sudo apt-get update |
93 | 82 | sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf |
@@ -123,19 +112,18 @@ jobs: |
123 | 112 | run: yarn install --frozen-lockfile |
124 | 113 |
|
125 | 114 | - name: Build sidecar core binary |
126 | | - run: cargo build --manifest-path Cargo.toml --release --target ${{ matrix.settings.target }} --bin openhuman |
| 115 | + run: cargo build --manifest-path Cargo.toml --release --target x86_64-unknown-linux-gnu --bin openhuman |
127 | 116 |
|
128 | 117 | - name: Stage sidecar for Tauri bundler |
129 | | - shell: bash |
130 | 118 | run: | |
131 | 119 | mkdir -p app/src-tauri/binaries |
132 | | - cp target/${{ matrix.settings.target }}/release/openhuman app/src-tauri/binaries/openhuman-${{ matrix.settings.target }} |
133 | | - chmod +x app/src-tauri/binaries/openhuman-${{ matrix.settings.target }} |
| 120 | + cp target/x86_64-unknown-linux-gnu/release/openhuman app/src-tauri/binaries/openhuman-x86_64-unknown-linux-gnu |
| 121 | + chmod +x app/src-tauri/binaries/openhuman-x86_64-unknown-linux-gnu |
134 | 122 |
|
135 | 123 | - name: Build Tauri app |
136 | 124 | working-directory: app |
137 | 125 | run: | |
138 | 126 | TAURI_CONFIG_OVERRIDE='{"bundle":{"createUpdaterArtifacts":"never"},"plugins":{"updater":{"active":false}}}' |
139 | | - yarn tauri build -c "$TAURI_CONFIG_OVERRIDE" --bundles none --target ${{ matrix.settings.target }} -- -- --bin OpenHuman |
| 127 | + yarn tauri build -c "$TAURI_CONFIG_OVERRIDE" --bundles none -- -- --bin OpenHuman |
140 | 128 | env: |
141 | 129 | NODE_ENV: production |
0 commit comments