-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from PiterWeb/main
New release trying wails build action
- Loading branch information
Showing
47 changed files
with
4,853 additions
and
5,928 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Wails build | ||
|
||
on: | ||
push: | ||
tags: | ||
# Match any new tag | ||
- '*' | ||
|
||
env: | ||
# Necessary for most environments as build failure can occur due to OOM issues | ||
NODE_OPTIONS: "--max-old-space-size=4096" | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
# Failure in one platform build won't impact the others | ||
fail-fast: false | ||
matrix: | ||
build: | ||
- name: 'RemoteControllerLinux' | ||
platform: 'linux/amd64' | ||
os: 'ubuntu-latest' | ||
- name: 'RemoteControllerWindows' | ||
platform: 'windows/amd64' | ||
os: 'windows-latest' | ||
- name: 'RemoteControllerDarwin' | ||
platform: 'darwin/universal' | ||
os: 'macos-latest' | ||
|
||
runs-on: ${{ matrix.build.os }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Build wails | ||
uses: dAppServer/[email protected] | ||
id: build | ||
with: | ||
build-name: ${{ matrix.build.name }} | ||
build-platform: ${{ matrix.build.platform }} | ||
package: false | ||
go-version: '1.22' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
describe("Basic connection", () => { | ||
|
||
it("load", () => { | ||
cy.visit('http://localhost:34115/'); | ||
cy.wait(1000) | ||
cy.log("hello") | ||
}) | ||
|
||
}) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
describe('Tutorial flow', () => { | ||
it('Load main page ', () => { | ||
cy.visit('http://localhost:34115/'); | ||
}); | ||
|
||
it('tutorial', () => { | ||
|
||
cy.visit('http://localhost:34115/'); | ||
cy.get('button.btn').click(); | ||
cy.get('button.driver-popover-next-btn').click(); | ||
cy.location('pathname').should('equal', '/mode/config'); | ||
cy.wait(1000); | ||
cy.get('.grid > :nth-child(5) > .btn').click(); | ||
cy.get(':nth-child(3) > .btn').click(); | ||
cy.get(':nth-child(4) > .btn').click(); | ||
cy.get('.grid > :nth-child(1) > .btn').click(); | ||
cy.get('.grid > :nth-child(2) > .btn').click(); | ||
cy.get('button.driver-popover-next-btn').click(); | ||
cy.wait(1000); | ||
cy.get('button.driver-popover-next-btn').click(); | ||
cy.location('pathname').should('equal', '/mode/config/advanced/stun'); | ||
cy.wait(1000); | ||
cy.get('button.driver-popover-next-btn').click(); | ||
cy.wait(1000); | ||
cy.get('button.driver-popover-next-btn').click(); | ||
cy.wait(1000); | ||
cy.location('pathname').should('equal', '/mode/config'); | ||
cy.get('button.driver-popover-next-btn').click(); | ||
cy.wait(1000); | ||
cy.get('button.driver-popover-next-btn').click(); | ||
cy.wait(1000); | ||
cy.get('button.driver-popover-next-btn').click(); | ||
cy.location('pathname').should('equal', '/'); | ||
}); | ||
}); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.