-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/msys2' into development
- Loading branch information
Showing
7 changed files
with
92 additions
and
9 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,37 @@ | ||
name: Windows/MSYS2 make | ||
|
||
on: | ||
push: | ||
branches: [ master, development, feature/msys2 ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: windows-latest | ||
|
||
defaults: | ||
run: | ||
shell: msys2 {0} | ||
steps: | ||
- uses: msys2/setup-msys2@v2 | ||
with: | ||
msystem: UCRT64 | ||
update: true | ||
install: git vim zip mingw-w64-ucrt-x86_64-gcc make mingw-w64-ucrt-x86_64-pkgconf mingw-w64-ucrt-x86_64-eigen3 mingw-w64-ucrt-x86_64-jack2 mingw-w64-ucrt-x86_64-liblo mingw-w64-ucrt-x86_64-libsndfile mingw-w64-ucrt-x86_64-gtkmm3 mingw-w64-ucrt-x86_64-gsl mingw-w64-ucrt-x86_64-fftw mingw-w64-ucrt-x86_64-libsamplerate mingw-w64-ucrt-x86_64-xerces-c mingw-w64-ucrt-x86_64-gtksourceviewmm3 mingw-w64-ucrt-x86_64-dlfcn mingw-w64-ucrt-x86_64-matio mingw-w64-ucrt-x86_64-adwaita-icon-theme | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: lineendings | ||
run: git config --global core.autocrlf true | ||
- name: build | ||
run: make | ||
- name: test | ||
run: make unit-tests | ||
- name: packaging | ||
run: make packwin | ||
- name: checkgit | ||
run: git status | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: windows | ||
path: packaging/win/*.zip |
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,32 @@ | ||
include ../../config.mk | ||
|
||
ALL_CSV=$(wildcard *.csv) | ||
|
||
PACKVERSION=$(FULLVERSION)-windows | ||
ifeq "$(DEBUG)" "yes" | ||
PACKVERSION:=$(PACKVERSION)-debug | ||
endif | ||
|
||
all: | ||
rm -Rf tascar;\ | ||
mkdir -p tascar/{scripts,share/icons,share/glib-2.0,lib};\ | ||
rm -f tascar-$(PACKVERSION).zip;\ | ||
cp -v ../../*/build/[lt]*.{dll,exe} tascar/;\ | ||
cp -r ../../scripts/*.m tascar/scripts/;\ | ||
cp -r /ucrt64/share/icons/Adwaita tascar/share/icons/;\ | ||
cp -r /ucrt64/share/icons/hicolor tascar/share/icons/;\ | ||
cp -r /ucrt64/share/glib-2.0/schemas tascar/share/glib-2.0/;\ | ||
cp -r /ucrt64/lib/gdk-pixbuf-2.0 tascar/lib/;\ | ||
cp /ucrt64/bin/gdbus.exe tascar/;\ | ||
cp /ucrt64/bin/broadwayd.exe tascar/;\ | ||
cp /ucrt64/bin/librsvg-2-2.dll tascar/;\ | ||
(cd tascar; cp -v $$(cygcheck ./* ./lib/gdk-pixbuf-2.0/*/*.dll | grep msys64 | sort -bu) .;mkdir -p share/{icons,glib-2.0} lib); \ | ||
cp ../../artwork/*.png tascar/;\ | ||
(cd tascar; glib-compile-schemas share/glib-2.0/schemas);\ | ||
zip -r tascar-$(PACKVERSION).zip tascar/; | ||
|
||
#\ | ||
# (cd tascar; find /d/ -name "Adwaita*"; find /d/ -name "glib-2.0"; find /d/ -name "hicolor"; find /d/ -name "librsvg-2-2.dll";echo "---";echo "---";ls /ucrt64/;echo "packaging completed.";) | ||
|
||
ver: | ||
@echo "Packaging: $(PACKVERSION)" |
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