-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
102 changed files
with
409 additions
and
26,865 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,31 @@ | ||
#!/bin/sh | ||
|
||
set -ev | ||
|
||
sudo apt-get install -y gettext | ||
|
||
USE_VALGRIND="" | ||
|
||
if [ "$MATRIX_OS" = "ubuntu-latest" ] && [ "$MATRIX_ARCH" = "x86" ]; then | ||
USE_VALGRIND=1 | ||
sudo apt-get install -y valgrind | ||
fi | ||
|
||
if [ "$MATRIX_OS" = "ubuntu-18.04" ]; then | ||
sudo apt-get install -y python-setuptools | ||
fi | ||
|
||
sudo -H python3 -m pip install meson ninja | ||
|
||
meson builddir | ||
cd builddir | ||
ninja -v | ||
ninja dist | ||
|
||
if [ -n "$USE_VALGRIND" ]; then | ||
meson test --setup=valgrind | ||
fi | ||
|
||
# nls disabled | ||
meson configure -Dnls=false | ||
ninja -v |
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 @@ | ||
name: AppImage Build | ||
on: | ||
push: | ||
branches: [ master ] | ||
jobs: | ||
|
||
# This workflow contains a single job called "build" | ||
build: | ||
runs-on: ubuntu-18.04 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
# Runs a single command using the runners shell | ||
- name: Install required dependencies | ||
run: sudo apt-get install -y meson | ||
|
||
# Runs a set of commands using the runners shell | ||
- name: Download building tools & executing AppImage build | ||
run: | | ||
wget -nv -c https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage | ||
chmod +x linuxdeploy-x86_64.AppImage | ||
wget -q https://github.com/TheAssassin/pyuploadtool/releases/download/continuous/pyuploadtool-x86_64.AppImage | ||
chmod +x pyuploadtool-x86_64.AppImage | ||
- run: | | ||
meson setup _build -Dprefix=/usr -Dstrip=true --buildtype=release | ||
cd _build | ||
ninja | ||
DESTDIR=AppDir ninja -v install | ||
../linuxdeploy-x86_64.AppImage --executable AppDir/usr/bin/modemu2k \ | ||
--icon-file=../packaging/modemu2k.png --icon-filename=modemu2k \ | ||
--create-desktop-file --appdir $PWD/AppDir --output appimage | ||
../pyuploadtool-x86_64.AppImage modemu2k*AppImage |
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,50 @@ | ||
name: C/C++ CI | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- '**/*.md' | ||
pull_request: | ||
paths-ignore: | ||
- '**/*.md' | ||
|
||
jobs: | ||
gcc: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
arch: [x64] | ||
os: [ubuntu-latest] | ||
runs-on: ${{ matrix.os }} | ||
env: | ||
MATRIX_OS: ${{ matrix.os }} | ||
MATRIX_ARCH: ${{ matrix.arch }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: sh ./.github/scripts/test_m2k.sh | ||
|
||
clang: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
arch: [x64] | ||
os: [ubuntu-latest] | ||
compiler: [clang] | ||
runs-on: ${{ matrix.os }} | ||
env: | ||
MAXTRIX_OS: ${{ matrix.os }} | ||
MAXTRIX_ARCH: ${{ matrix.arch }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: sh ./.github/scripts/test_m2k.sh | ||
|
||
|
||
macos: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: brew install meson | ||
- run: | | ||
meson builddir | ||
ninja -v -C builddir | ||
ninja -C builddir dist |
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,20 +1,10 @@ | ||
autom4te.cache | ||
*~ | ||
_build | ||
|
||
src/*.o | ||
src/.deps | ||
config.h | ||
Makefile | ||
src/modemu2k | ||
src/stamp-h1 | ||
config.log | ||
config.status | ||
/po/Makevars.template | ||
*.tar.gz | ||
/_build/ | ||
/builddir/ | ||
*.gz | ||
*.tgz | ||
build | ||
*.gmo | ||
Dockerfile | ||
|
||
# flex-generated file | ||
lex.yy.c | ||
cmdlex.c |
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
Oops, something went wrong.