Add linux-arm64 building for snap

This commit is contained in:
WardPearce
2024-10-30 19:46:41 +13:00
parent 2f0b388b11
commit aa4f9ee067
2 changed files with 15 additions and 10 deletions
+6 -3
View File
@@ -18,12 +18,15 @@ jobs:
node-version: [20]
runtime:
- linux-x64
- linux-arm64
- win-x64
- osx-x64
include:
- runtime: linux-x64
os: ubuntu-latest
- runtime: linux-arm64
os: ubuntu-latest
- runtime: osx-x64
os: macOS-latest
- runtime: win-x64
@@ -65,13 +68,13 @@ jobs:
if: runner.os == 'Windows'
- name: Install snapcraft
if: matrix.runtime == 'linux-x64'
if: matrix.runtime == 'linux-x64' || matrix.runtime == 'linux-arm64'
run: sudo snap install snapcraft --classic
- name: Set up snapcraft environment variables
run: echo "SNAPCRAFT_STORE_CREDENTIALS=${{ secrets.SNAPCRAFT_LOGIN }}" >> $GITHUB_ENV
shell: bash
if: matrix.runtime == 'linux-x64'
if: matrix.runtime == 'linux-x64' || matrix.runtime == 'linux-arm64'
- name: Build desktop packages
run: cd ./materialious/electron && npm run electron:make
run: cd ./materialious/electron && npm run electron:make
+9 -7
View File
@@ -16,17 +16,19 @@ jobs:
node-version: [20]
runtime:
- linux-x64
- linux-arm64
- win-x64
- osx-x64
include:
- runtime: linux-x64
os: ubuntu-latest
- runtime: osx-x64
os: macOS-latest
- runtime: win-x64
os: windows-latest
- runtime: linux-x64
os: ubuntu-latest
- runtime: linux-arm64
os: ubuntu-latest
- runtime: osx-x64
os: macOS-latest
- runtime: win-x64
os: windows-latest
runs-on: ${{ matrix.os }}