Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build snap in CI #438

Closed
h3poteto opened this issue Feb 22, 2023 · 1 comment · Fixed by #1343
Closed

Build snap in CI #438

h3poteto opened this issue Feb 22, 2023 · 1 comment · Fixed by #1343
Assignees
Milestone

Comments

@h3poteto
Copy link
Owner

No description provided.

@h3poteto h3poteto added this to the 1.0.0 milestone Feb 22, 2023
@h3poteto h3poteto self-assigned this Feb 28, 2023
@h3poteto
Copy link
Owner Author

Can't build snap in Actions

$ tauri-snap-packager
Attempting to snap.
app: fedistar v1.0.0
identifier: net.fedistar
Creating snapcraft.yaml
Transferring files.
Adding desktop file.
Adding icons.
Transferring `src-tauri/icons` to `src-tauri/target/release/icons`.
Building snap.
node:internal/errors:867
  const err = new Error(message);
              ^
Error: Command failed: snapcraft 
launch failed: KVM support is not enabled on this machine.
Please ensure the following:
1. The system's CPU supports virtualization.
2. Virtualization is enabled in the system BIOS.
3. The KVM kernel modules are loaded.
Starting Snapcraft 7.2.9
Logging execution to '/home/runner/.cache/snapcraft/log/snapcraft-20230228-110624.733071.log'
An error occurred with the instance when trying to launch with 'multipass': returned exit code 2.
Ensure that 'multipass' is setup correctly and try again.
    at ChildProcess.exithandler (node:child_process:419:12)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1091:16)
    at ChildProcess._handle.onexit (node:internal/child_process:302:5) {
  code: 2,
  killed: false,
  signal: null,
  cmd: 'snapcraft '
}

@h3poteto h3poteto modified the milestones: 1.0.0, 2.0.0 Feb 28, 2023
@h3poteto h3poteto changed the title Snapcraft support Build snap in CI Mar 15, 2023
h3poteto added a commit that referenced this issue Feb 8, 2024
h3poteto added a commit that referenced this issue Feb 8, 2024
h3poteto added a commit that referenced this issue Feb 9, 2024
h3poteto added a commit that referenced this issue Feb 9, 2024
h3poteto added a commit that referenced this issue Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant