Commit graph

425 commits

Author SHA1 Message Date
Mashintime
5f3050c3db Make release versions of codec2 2023-07-30 12:19:49 -04:00
Mashintime
f0d7685a96 Fix prettier action 2023-07-02 09:43:13 -04:00
DJ2LS
fa8c072199 run prettier only on push to merge 2023-05-20 10:07:49 +02:00
Mashintime
2d97841422 Fix arm build 2023-05-18 21:41:32 -04:00
Mashintime
4e2ac2f07d Use new libcodec2 name 2023-05-18 21:27:41 -04:00
DJ2LS
ca36205ec2 moved ctest back to master branch 2023-05-04 11:23:30 +02:00
DJ2LS
a0a6bae6b4 updated ctest 2023-04-26 13:57:28 +02:00
DJ2LS
a9f7fa5783 revert run ctest with specific branch 2023-04-21 16:30:36 +02:00
DJ2LS
f45b54126d run github actions only for actual branch 2023-04-21 16:28:41 +02:00
DJ2LS
53955d49c4 run github actions only for actual branch 2023-04-21 16:25:33 +02:00
DJ2LS
7f9e048dcd changed codec2 branch for ctest 2023-04-21 13:50:31 +02:00
DJ2LS
e7e113df28 attempt fixing github runner 2023-02-21 21:08:23 +01:00
DJ2LS
9982ee5331 updated build action - removed deprecated linux 2023-02-21 20:27:45 +01:00
DJ2LS
5e642697ff added missing dependencies 2023-02-21 20:24:51 +01:00
dependabot[bot]
133c4fadb7
Bump creyD/prettier_action from 4.2 to 4.3
Bumps [creyD/prettier_action](https://github.com/creyD/prettier_action) from 4.2 to 4.3.
- [Release notes](https://github.com/creyD/prettier_action/releases)
- [Commits](https://github.com/creyD/prettier_action/compare/v4.2...v4.3)

---
updated-dependencies:
- dependency-name: creyD/prettier_action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-20 17:09:55 +00:00
DJ2LS
63940e2fda added prettier code cleanup 2023-02-11 22:33:21 +01:00
DJ2LS
bd496fae3f disabled ctest for python 3.12-dev 2023-02-09 18:27:06 +01:00
DJ2LS
da679b3e0f added missing dependency to ctests 2023-02-02 20:19:58 +01:00
DJ2LS
ff5eea3c63 fixed build_multiplatform.yml folder checking 2023-01-30 09:47:20 +01:00
DJ2LS
6ae542230f fixed path env 2023-01-22 22:05:07 +01:00
DJ2LS
f18604a38b possible hotfix for missing portaudio 2023-01-22 21:47:14 +01:00
DJ2LS
9b13efacba fixed macOS build folder path 2023-01-22 19:28:34 +01:00
DJ2LS
545aaf031f set environment vars 2023-01-21 20:20:09 +01:00
DJ2LS
4e83d49144 increased attempts for build app 2023-01-21 17:20:12 +01:00
DJ2LS
432d091c97 set fail-fast: false 2023-01-21 15:48:54 +01:00
DJ2LS
6dfc85e983 another attempt remove all .git folders 2023-01-21 13:35:16 +01:00
DJ2LS
3d8fe47270 another attempt remove all .git folders 2023-01-21 13:18:16 +01:00
DJ2LS
d4a821ac39 remove .git folder recursively 2023-01-21 13:02:45 +01:00
DJ2LS
47dd3fc23a remove .git folder recursively 2023-01-21 13:01:35 +01:00
DJ2LS
0e465d8bbb remove .git folder which prevents elecron from code signing 2023-01-21 12:48:43 +01:00
DJ2LS
1d14f51854 add osx_certs 2023-01-21 12:03:13 +01:00
DJ2LS
da6dd1f045 version update which should now work 2023-01-20 20:56:10 +01:00
DJ2LS
21c98a8366 version update which should now work 2023-01-20 20:36:25 +01:00
DJ2LS
8e9b9c9199 outcommented python 3.12 as its not supported by nuitka yet 2023-01-20 20:16:19 +01:00
DJ2LS
059d23fa31 added python 3.12 to ctest 2023-01-20 16:33:18 +01:00
DJ2LS
784aa9cf82 added python 3.12 to ctest 2023-01-20 16:17:55 +01:00
DJ2LS
440fda917a update to python 3.11 2023-01-20 16:16:18 +01:00
DJ2LS
7326f871e5 remove duplicate build step, update to nodejs 18, update to python 3.10 2023-01-20 16:15:04 +01:00
DJ2LS
4687dd36e7 don't rename for macos 2023-01-20 13:24:17 +01:00
DJ2LS
93d238d4e1 force overwriting output files for pyinstaller 2023-01-19 21:49:35 +01:00
DJ2LS
4c9ee09e86
Merge branch 'main' into update_github_action 2023-01-19 21:27:05 +01:00
DJ2LS
1bd6537d64 attempt fixing macOS build with new build steps 2023-01-19 21:15:23 +01:00
DJ2LS
c0e4f14da0 record audio 2022-12-26 12:11:59 +01:00
DJ2LS
48781ba208 removed artifact uploading 2022-11-25 17:01:24 +01:00
DJ2LS
cb2d9907c8 github action hotfix attempt 2022-11-25 16:10:34 +01:00
DJ2LS
1588031bfa github action hotfix attempt 2022-11-25 16:03:22 +01:00
DJ2LS
271f33003c hotfix attempt for not allowing artifact uploads when testing 2022-11-25 16:00:53 +01:00
DJ2LS
0d49340d7e hotfix attempt for not allowing artifact uploads when testing 2022-11-25 15:59:07 +01:00
DJ2LS
e9d0236c9d additional downloading of libcodec2 2022-11-20 20:48:32 +01:00
DJ2LS
d519052ce9 improved github action 2022-11-20 20:39:46 +01:00
DJ2LS
33e0f61675 updated github action 2022-11-20 18:24:00 +01:00
DJ2LS
166bb6aba4 updated github action 2022-11-20 17:10:49 +01:00
DJ2LS
21076ef87f added ctest for different versions 2022-11-20 13:39:31 +01:00
DJ2LS
77f7312f97 added ctest for different versions 2022-11-20 13:38:21 +01:00
DJ2LS
6f3e6c698c added ctest for different versions 2022-11-20 13:33:11 +01:00
DJ2LS
8f0dd9df8b attempt making build process more simple 2022-11-19 23:47:06 +01:00
DJ2LS
6851d2c427 attempt making build process more simple 2022-11-19 17:43:17 +01:00
dj2ls
1314140454 hotfix: updated build step 2022-11-06 19:01:13 +01:00
dj2ls
a9c415c59e fixing codefactor problem 2022-10-16 18:17:09 +02:00
dj2ls
a68d2c176a attempt making bash available for windows... 2022-10-16 17:12:11 +02:00
dj2ls
53d0383696 attempt making bash available for windows... 2022-10-16 17:08:54 +02:00
dj2ls
9053e2f57f attempt making bash available for windows... 2022-10-16 16:44:59 +02:00
dj2ls
f21069e29d check if portaudio already downloaded 2022-10-16 15:58:03 +02:00
dj2ls
18f670bac7 check if portaudio already downlaoded 2022-10-16 15:56:14 +02:00
dj2ls
03f5f8dcce fixed folder cleanup for macOS 2022-10-13 10:36:04 +02:00
dj2ls
c93cba9bc0 moved to pyinstaller for macOS 2022-10-13 10:15:51 +02:00
dj2ls
a67d6cb450 moved to pyinstaller for macOS 2022-10-13 10:03:47 +02:00
dj2ls
5516985f49 moved to pyinstaller for macOS 2022-10-13 09:53:53 +02:00
dj2ls
7efad9479c changed source folder 2022-10-13 08:58:18 +02:00
dj2ls
b125f36a13 attempt with virtualenv 2022-10-12 19:20:23 +02:00
dj2ls
32a01a5859 attempt with virtualenv 2022-10-12 19:03:05 +02:00
dj2ls
63d47cb745 attempt with virtualenv 2022-10-12 17:07:10 +02:00
dj2ls
b97db66736 attempt with virtualenv 2022-10-12 16:38:23 +02:00
dj2ls
19bff8cb4e attempt fixing macOS builds 2022-10-12 12:00:54 +02:00
Paul Kronenwetter
101903b924
Add pyaudio to pip install
Use pip to install pyaudio, in addition to the debian package, as a test.
2022-10-07 15:44:10 +00:00
dj2ls
5a8a563787 force usage of python 3.9 for ctest 2022-10-05 19:43:23 +02:00
DJ2LS
6d97dc2ebe
Merge pull request #253 from DJ2LS/ls-gui
WIP: new rigctld control interface
2022-10-04 09:35:52 +02:00
DJ2LS
4e9cdd2548 test with different build parameters 2022-10-04 08:58:02 +02:00
DJ2LS
c964fab0ee removed ia32 from linux build 2022-10-04 08:54:34 +02:00
DJ2LS
b4bdc313c9 added --x64 --ia32 arg to electron builder 2022-10-03 22:04:22 +02:00
dj2ls
2afcdd980c removed test branch 2022-10-03 14:21:42 +02:00
dj2ls
594b342fc6 removed test branch 2022-10-03 14:21:04 +02:00
Paul Kronenwetter
90bcce10f1 Remove code checkout reference to reflect the action cause 2022-09-20 19:26:33 -04:00
DJ2LS
153dd7f7da
Merge branch 'main' into ls-gui 2022-09-20 08:04:38 +02:00
Paul Kronenwetter
7704f96fc3 Make build file more consistent and representative 2022-09-18 19:50:20 -04:00
Paul Kronenwetter
e189d0298e Tweak build script a little 2022-09-18 16:53:36 -04:00
DJ2LS
690f400a81
Merge pull request #252 from DJ2LS/dependabot/github_actions/actions/checkout-3 2022-09-18 12:30:49 +02:00
DJ2LS
9f4de39cab
Merge pull request #251 from DJ2LS/dependabot/github_actions/actions/setup-python-4 2022-09-18 12:29:56 +02:00
DJ2LS
96eaa46972
Merge pull request #250 from DJ2LS/dependabot/github_actions/github/codeql-action-2 2022-09-18 12:28:58 +02:00
dependabot[bot]
748d8495a2
Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-17 14:31:19 +00:00
dependabot[bot]
87c8dedebb
Bump actions/setup-python from 2 to 4
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-17 14:31:16 +00:00
dependabot[bot]
8c93f40d9b
Bump github/codeql-action from 1 to 2
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-17 14:31:13 +00:00
dependabot[bot]
2fcfe06369
Bump actions/setup-node from 1 to 3
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 1 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v1...v3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-17 14:31:10 +00:00
dj2ls
7524e853aa 4 carrier test 2022-09-16 18:36:17 +02:00
dj2ls
c0588f758a 3 carrier test 2022-09-16 17:07:58 +02:00
dj2ls
c84a61fa5f updated version information and electron packages 2022-09-12 18:54:17 +02:00
DJ2LS
2530b2ed89 early download of libcodec2 2022-09-12 18:17:35 +02:00
dj2ls
56f22965fb download libcodec2 artifacts to dist folder 2022-09-12 11:18:10 +02:00
dj2ls
7a0d354c2c download libcodec2 artifacts to dist folder 2022-09-12 10:25:03 +02:00
dj2ls
f8c72d2b6b upload app bundle artifacts and version increment 2022-09-12 09:16:28 +02:00
dj2ls
6d45dae303 separate copy command windows-unix 2022-09-10 20:10:05 +02:00
dj2ls
18c0f375c6 force mv 2022-09-10 19:20:56 +02:00
dj2ls
3336000223 fix when copying tnc binaries 2022-09-10 18:27:55 +02:00
dj2ls
02e5c8ac35 adding portaudio binaries 2022-09-10 17:42:08 +02:00
dj2ls
a5bc9da41d adding portaudio binaries 2022-09-10 17:36:06 +02:00
dj2ls
d236b77d4e attempt with standalone build for adding pyaudio to bundle 2022-09-10 16:17:24 +02:00
dj2ls
56897c3f03 attempt with standalone build for adding pyaudio to bundle 2022-09-10 15:26:06 +02:00
dj2ls
0803f3e24a attempt with standalone build for adding pyaudio to bundle 2022-09-10 15:10:09 +02:00
dj2ls
5d9dc98931 and again a fix 2022-09-08 10:27:01 +02:00
dj2ls
22de69aefd accidently removed --assume-yes-for-downloads 2022-09-08 08:48:50 +02:00
dj2ls
d64d839ac5 fix trailing whitespaces 2022-09-08 07:59:49 +02:00
DJ2LS
c93aff011b
fixe Windows Build path
…this is hopefully the final commit in this area…
2022-09-06 22:07:57 +02:00
DJ2LS
1680dd368f
allow dependency walker download
--assume-yes-for-downloads option
2022-09-06 21:31:44 +02:00
dj2ls
80a640d9df more github action changes. Last run for this month... 2022-09-06 20:19:30 +02:00
dj2ls
fa9320df3e fixed artifact path 2022-09-06 19:07:00 +02:00
dj2ls
4af4a3eebc fixed binary cp for windows 2022-09-06 17:05:32 +02:00
dj2ls
0856de449b fixed binary cp for windows 2022-09-06 17:02:11 +02:00
dj2ls
9d9c6228a4 changed arm ubuntu build again... 2022-09-06 16:22:08 +02:00
dj2ls
7918a35490 disabled ubuntu arm build 2022-09-06 16:20:46 +02:00
dj2ls
449ce0712c another approach of running arm build 2022-09-06 16:18:08 +02:00
dj2ls
0ef2d601dd first nuitka test run 2022-09-06 16:06:57 +02:00
dj2ls
c3f8e3d899 another attempt of fixing GitHub action 2022-09-05 09:20:59 +02:00
dj2ls
073f26ace8 hotfix for #240 and failing GitHub action 2022-09-04 19:45:15 +02:00
DJ2LS
3db3313b98
build_action hot fix 2022-07-14 09:48:29 +02:00
DJ2LS
726ba67fc3 possible whitespace fix 2022-07-12 11:04:56 +02:00
DJ2LS
276affb8c8 Updated Github Action - new attempt with another way.. 2022-07-12 10:57:06 +02:00
DJ2LS
b10fb8887d add additional mingw dependencies to package 2022-07-08 19:14:22 +02:00
DJ2LS
b2d8b32524 Path Update 2022-07-08 16:20:11 +02:00
DJ2LS
a4af8f37e2 GithubAction build test 2022-07-06 15:40:57 +02:00
Paul Kronenwetter
bc9e8849ac Remove unused miniaudio install 2022-06-19 08:42:20 -04:00
Paul Kronenwetter
af355244a1 Use pytest-rerunfailures instead of re-inventing it. 2022-06-15 19:42:16 -04:00
Paul Kronenwetter
f0f7c94058 Pin codec2 revision to master.
This should be a specific release, that implements freedv_set_tuning_range.
2022-06-15 19:40:14 -04:00
Paul Kronenwetter
dbeea31f9d Correcting git mistake. 2022-06-15 19:40:14 -04:00
Paul Kronenwetter
f742a8a435 Pin codec2 revision to v1.0.3. 2022-06-15 19:40:14 -04:00
DJ2LS
e05bc262ad and some more typos and whitespace correction.. 2022-05-23 14:26:14 +02:00
Paul Kronenwetter
5c6cee1c21
Enhance tests (#185)
* Initial attempt to create unit tests for DATA class (tnc).

* Completed initial set of tests.

* Adding pytest to install packages.

* Corrects issue #173 fix

I didn't look carefully enough at `helpers.check_callsign` to see that it returns a list. The first element of the list is `True`/`False`.

* Making check_callsign evaluation more consistent.

* Update .gitignore

this is more a test commit to see if GitHub Client for MacOS is working,

* mkfifo test prototype

First partially working prototype for testing the full tnc with mkfifo named pipes.

* single tnc test file

moved to a single file for running tnc tests

* fixed typo

* Added parameters to tests.

Make other minor tweaks and documentation.

* Clean up two existing tests.

Adapted both tests to pytest and maintained
compatibility with existing ctest method.
Tweaked CMakeLists.txt .

* Adding pure python  highsnr_stdio_P_P_multi test.

Intended to replace highsnr_stdio_P_P_multi which uses POSIX shell.

* Adding pure python  highsnr_stdio_P_P_datac0 test.

Intended to replace highsnr_stdio_P_P_datac0 which uses POSIX shell.

* Parameterize recent tests.

Renamed datac0 to datacx after including all data codecs in test.

* Parameterize mode as well.

Add ability to run tests from main directory as well as within test/.

* Add list of tests and brief descriptions.

* Add more native python tests conversions.

* Update README with new tests.

* Tweak README again.

* Rename test to be findable by pytest.

* Rename test for ctest.

* Update correct file this time.

* Minor test tweaks.

* Add modem test proof-of-concept.

* Adjustment to ARQ short test.

* Various refactorings.

Type hints, trailing backslash, range usage, etc.

* Ignore unknown arguments in argparse.

* Minor cleanups.

* Update test/README.md.

* Update test_pa to quiet pylint.

* Give up trying to suppress structlog output.

* Correct module comments.

* Remove excess trailing spaces.

* Remove excess newlines.

* Various refactorings.

Type hints, trailing backslash, range usage, etc.

* mkfifo test prototype

First partially working prototype for testing the full tnc with mkfifo named pipes.

* Update test_tnc and tweak IRS/ISS.

* Correct test_modem to detect failures.

* Trying to be less dependent on env variables.

* Add IRS/ISS tests to ctests

* Pin codec2 revision to v1.0.3.

* Correcting git mistake.

* Pin codec2 revision to master.

This should be a specific release, that implements freedv_set_tuning_range.

Co-authored-by: DJ2LS <75909252+DJ2LS@users.noreply.github.com>
2022-05-21 23:04:17 +00:00
Paul Kronenwetter
4ce0fb4de9 Pyinstaller 5.1 breaks our build. 2022-05-18 18:33:54 -04:00
dj2ls
860865004a updated build action 2022-03-30 21:40:29 +02:00
dj2ls
a65a677f49 updated sounddevice setup routine
this possible fixes -9998 channel errors
2022-03-30 17:53:35 +02:00
dj2ls
0c41b8b4a7 added sounddevice to github action 2022-03-29 16:45:00 +02:00
dj2ls
fde70b114e added sounddevice to github action 2022-03-29 16:44:33 +02:00
dj2ls
fd0c9e95ac updated build action 2022-03-14 20:35:49 +01:00
dj2ls
a552109265 changed python version to 3.8
we need this for beeing compatible with the precompiled hamlib binding. We might improve this somewhen later...
2022-03-08 09:27:53 +01:00
dj2ls
87ba2d374f fixed auto updater
error when update downloaded
2022-02-25 13:10:54 +01:00
dj2ls
80a23da83a updated build action
new day ...
2022-02-25 10:29:38 +01:00
dj2ls
cd7ab90bc1 updated build action
new day ...
2022-02-25 10:00:18 +01:00
dj2ls
60b3fccad6 updated build action
new day ...
2022-02-25 09:52:58 +01:00
dj2ls
a358560c9f updated build action
new day ...
2022-02-25 09:28:42 +01:00
dj2ls
31c1bcac36 optimzed build action
tnc single builds are now provided AFTER electron builder
2022-02-23 08:51:06 +01:00
dj2ls
ca9a5140a2 updated version information inside tnc
and some changes for our github actions as well...
2022-02-23 08:12:24 +01:00