-
Notifications
You must be signed in to change notification settings - Fork 8
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 #36 from qlrd/main
Major updates of libraries to go to a stable version of the software
- Loading branch information
Showing
67 changed files
with
1,100 additions
and
979 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
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,73 @@ | ||
name: Build electron application as deb package on linux | ||
|
||
on: | ||
workflow_call: | ||
secrets: | ||
token: | ||
required: true | ||
|
||
jobs: | ||
|
||
build-linux: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
- name: Checkout Git repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "20.10.0" | ||
|
||
- name: Variables helpers | ||
id: setup | ||
run: | | ||
KRUX_VERSION=`node -e "console.log(require('./package.json').version)"` | ||
echo "app-version=$KRUX_VERSION" >> $GITHUB_OUTPUT | ||
KRUX_NAME=krux-installer | ||
echo "app-name=${KRUX_NAME}_${KRUX_VERSION}_amd64" >> $GITHUB_OUTPUT | ||
echo "::group::Variables" | ||
echo "app-version=$KRUX_VERSION" | ||
echo "app-name=$KRUX_NAME" | ||
echo "::endgroup::" | ||
- name: Install dependencies | ||
run: yarn install | ||
|
||
- name: Build electron app | ||
env: | ||
GH_TOKEN: ${{ secrets.token }} | ||
run: yarn run build --linux deb | ||
|
||
- name: Hash electron app (Linux) | ||
uses: qlrd/sha256sum-action@v2 | ||
with: | ||
working-directory: ./release/${{ steps.setup.outputs.app-version }} | ||
file: ${{ steps.setup.outputs.app-name }}.deb | ||
ext: sha256.txt | ||
|
||
- name: List release files | ||
run: | | ||
echo "::group::Release files" | ||
ls -la release/${{ steps.setup.outputs.app-version }} | ||
echo "::endgroup::" | ||
- name: Install xvfb-maybe to allow headless test | ||
run: yarn add --dev xvfb-maybe | ||
|
||
- name: E2E test electron app | ||
env: | ||
DEBUG: 'krux:*' | ||
run: ./node_modules/.bin/xvfb-maybe ./node_modules/.bin/wdio run wdio.conf.mts | ||
|
||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v3 | ||
if: ${{ github.ref_name == 'main' }} | ||
with: | ||
name: ${{ runner.os }}-${{ steps.setup.outputs.app-name }}-deb | ||
retention-days: 5 | ||
path: | | ||
release/${{ steps.setup.outputs.app-version }}/${{ steps.setup.outputs.app-name }}.deb | ||
release/${{ steps.setup.outputs.app-version }}/${{ steps.setup.outputs.app-name }}.deb.sha256.txt |
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
DEBUG=krux:* | ||
DEBUG=krux:* | ||
NODE_ENV=test |
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 |
---|---|---|
@@ -1,33 +1,27 @@ | ||
## 2022-10-03 | ||
# 0.0.1 | ||
|
||
[v2.1.0](https://github.com/electron-vite/electron-vite-vue/pull/267) | ||
- Major updates dependencies: | ||
- `electron`: 28.1.0; | ||
- `vite-plugin-electron`: 0.15.5; | ||
- `wdio-electron-service`: 6.0.2. | ||
|
||
- `vite-electron-plugin` is Fast, and WYSIWYG. 🌱 | ||
- last-commit: db2e830 v2.1.0: use `vite-electron-plugin` instead `vite-plugin-electron` | ||
- Minor updates: | ||
- `@wdio/cli`: 8.27.0; | ||
- `@wdio/globals`: 8.27.0; | ||
- `@wdio/local-runner`: 8.27.0; | ||
- `@wdio/mocha-framework`: 8.27.0; | ||
- `@wdio/spec-reporter`: 8.27.0; | ||
- `vue`: 3.3.13; | ||
- `vue-tsc`: 1.8.26; | ||
- `vuetify`: 3.4.8; | ||
|
||
## 2022-06-04 | ||
- Refactored `test/e2e/specs`: | ||
- to suit `wdio-electron-service` major updates that break E2E tests; | ||
- renamed extensions to `mts` to suit `vite-plugin-electron`; | ||
- updated krux firmware version checks to `23.09.1`; | ||
|
||
[v2.0.0](https://github.com/electron-vite/electron-vite-vue/pull/156) | ||
- Updated `openssl` for windows to `3.2.0` *; | ||
|
||
- 🖖 Based on the `vue-ts` template created by `npm create vite`, integrate `vite-plugin-electron` | ||
- ⚡️ More simplify, is in line with Vite project structure | ||
- last-commit: a15028a (HEAD -> main) feat: hoist `process.env` | ||
- Removed MacOS release since the current approach did not worked well on MacOS; | ||
|
||
## 2022-01-30 | ||
|
||
[v1.0.0](https://github.com/electron-vite/electron-vite-vue/releases/tag/v1.0.0) | ||
|
||
- ⚡️ Main、Renderer、preload, all built with vite | ||
|
||
## 2022-01-27 | ||
- Refactor the scripts part. | ||
- Remove `configs` directory. | ||
|
||
## 2021-11-11 | ||
- Refactor the project. Use vite.config.ts build `Main-process`, `Preload-script` and `Renderer-process` alternative rollup. | ||
- Scenic `Vue>=3.2.13`, `@vue/compiler-sfc` is no longer necessary. | ||
- If you prefer Rollup, Use rollup branch. | ||
|
||
```bash | ||
Error: @vitejs/plugin-vue requires vue (>=3.2.13) or @vue/compiler-sfc to be present in the dependency tree. | ||
``` | ||
> \* see [WARNING](WARNING.md) |
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,33 @@ | ||
# TODO | ||
|
||
- Kendryte K210 devices: | ||
- [x] Flash to M5stickV; | ||
- [x] Flash to Sipeed Amigo; | ||
- [x] Flash to Sipeed Bit; | ||
- [x] Flash to Sipeed Dock; | ||
- [ ] Flash to Yahboom Aimotion | ||
- [ ] Build from source to M5stickV; | ||
- [ ] Build from source to Sipeed Amigo; | ||
- [ ] Build from source to Sipeed Bit; | ||
- [ ] Build from source to Sipeed Dock; | ||
- [ ] Debug for M5stickV; | ||
- [ ] Debug for Sipeed Amigo; | ||
- [ ] Debug for Sipeed Bit; | ||
- [ ] Debug for Sipeed Dock; | ||
- [odudex Android version](https://github.com/odudex/krux_binaries/tree/main/Android): | ||
- [ ] Transfer to device; | ||
- [ ] Build for device; | ||
- [ ] Debug for device. | ||
- Windows: | ||
- [x] Build NSIS installer; | ||
- [ ] Build Portable installer; | ||
- [ ] Build AppX installer; | ||
- Linux: | ||
- [x] Build `AppImage` standalone; | ||
- [x] Build `deb` package for [apt-get](https://www.debian.org/doc/manuals/apt-howto/); | ||
- [ ] Build `snap` package for [snapcraft](https://snapcraft.io/); | ||
- [ ] Build `pacman` package for [pacman](https://wiki.archlinux.org/title/Pacman). | ||
- MacOS: | ||
- [x] Build DMG installer; | ||
- [ ] Build PKG installer; | ||
- [ ] Build MAS installer; |
Oops, something went wrong.