From 538240189366f1318fcaa500a31bff0b74b55872 Mon Sep 17 00:00:00 2001 From: Patrick Date: Mon, 3 Jun 2019 21:43:17 -0700 Subject: Create FUNDING.yml --- .github/FUNDING.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .github/FUNDING.yml (limited to '.github') diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 00000000..ca94ea88 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,5 @@ +# These are supported funding model platforms + +github: [TingPing] +patreon: tingping +custom: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=AUHBN4MDWNJAG -- cgit 1.4.1 From a67eafc796fa68c088dc88ff16471483e02b22bf Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Mon, 3 Jun 2019 22:19:45 -0700 Subject: Revert "Create FUNDING.yml" This reverts commit 538240189366f1318fcaa500a31bff0b74b55872. --- .github/FUNDING.yml | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 .github/FUNDING.yml (limited to '.github') diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index ca94ea88..00000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,5 +0,0 @@ -# These are supported funding model platforms - -github: [TingPing] -patreon: tingping -custom: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=AUHBN4MDWNJAG -- cgit 1.4.1 From 308838da32de4b2a91788666fab85eab1545ae09 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Fri, 20 Sep 2019 09:35:27 -0700 Subject: Switch to Github Actions for Linux CI --- .github/workflows/ubuntu-build.yml | 27 +++++++++++++++++++++++++++ .travis.yml | 20 -------------------- 2 files changed, 27 insertions(+), 20 deletions(-) create mode 100644 .github/workflows/ubuntu-build.yml delete mode 100644 .travis.yml (limited to '.github') diff --git a/.github/workflows/ubuntu-build.yml b/.github/workflows/ubuntu-build.yml new file mode 100644 index 00000000..c3bafadc --- /dev/null +++ b/.github/workflows/ubuntu-build.yml @@ -0,0 +1,27 @@ +name: Ubuntu Build +on: [push, pull_request] +jobs: + build: + runs-on: ubuntu-18.04 + + steps: + - uses: actions/checkout@v1 + with: + fetch-depth: 1 + + - name: Install Dependencies + run: | + sudo apt-get update + sudo apt-get install -y meson libcanberra-dev libdbus-glib-1-dev libglib2.0-dev libgtk2.0-dev libluajit-5.1-dev libnotify-dev libpci-dev libperl-dev libproxy-dev libssl-dev python3-dev python3-cffi mono-devel desktop-file-utils + + - name: Configure + run: meson build -Dwith-text=true -Dwith-theme-manager=true + + - name: Build + run: ninja -C build + + - name: Test + run: ninja -C build test + + - name: Install + run: sudo ninja -C build install diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 9e226f0c..00000000 --- a/.travis.yml +++ /dev/null @@ -1,20 +0,0 @@ -sudo: required -services: docker -before_install: - - docker pull ubuntu:16.04 - - docker run --privileged --cidfile=/tmp/cid ubuntu:16.04 /bin/sh -c 'apt-get update && apt-get install -y meson/xenial-backports libcanberra-dev libdbus-glib-1-dev libglib2.0-dev libgtk2.0-dev libluajit-5.1-dev libnotify-dev libpci-dev libperl-dev libproxy-dev libssl-dev python3-dev python3-cffi mono-devel desktop-file-utils' - - docker commit `cat /tmp/cid` hexchat/ubuntu-ci - - rm -f /tmp/cid -install: - - docker run -d --privileged --cidfile=/tmp/cid --volume=${PWD}:/opt/hexchat hexchat/ubuntu-ci /bin/systemd --system -script: - - docker exec `cat /tmp/cid` /bin/sh -c 'meson /opt/hexchat /opt/hexchat-build -Dwith-text=true -Dwith-theme-manager=true && ninja -C /opt/hexchat-build install && ninja -C /opt/hexchat-build test' -after_script: - - docker kill `cat /tmp/cid` -notifications: - irc: - channels: "chat.freenode.net#hexchat-devel" - template: "Build %{build_url} (%{commit} in %{branch}) by %{author}: %{message}" - on_success: change -matrix: - fast_finish: true -- cgit 1.4.1 From 04acbdc221a75f94d38ec4f80a3f826117443466 Mon Sep 17 00:00:00 2001 From: DjLegolas Date: Mon, 13 Apr 2020 17:14:42 +0300 Subject: Update github workflows --- .github/workflows/ubuntu-build.yml | 2 +- .github/workflows/windows-build.yml | 74 +++++++++++++++++++++++++++++++++++++ win32/installer/hexchat.iss.tt | 4 +- 3 files changed, 77 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/windows-build.yml (limited to '.github') diff --git a/.github/workflows/ubuntu-build.yml b/.github/workflows/ubuntu-build.yml index c3bafadc..f2d3ac8e 100644 --- a/.github/workflows/ubuntu-build.yml +++ b/.github/workflows/ubuntu-build.yml @@ -5,7 +5,7 @@ jobs: runs-on: ubuntu-18.04 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 with: fetch-depth: 1 diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml new file mode 100644 index 00000000..82b5bcec --- /dev/null +++ b/.github/workflows/windows-build.yml @@ -0,0 +1,74 @@ +name: Windows Build +on: [push, pull_request] + +jobs: + build: + runs-on: windows-2019 + strategy: + matrix: + platform: [x64, win32] + arch: [x64, x86] + exclude: + - platform: x64 + arch: x86 + - platform: win32 + arch: x64 + fail-fast: false + + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 1 + + - name: Install Dependencies + run: | + New-Item -Name "deps" -ItemType "Directory" + + Invoke-WebRequest http://files.jrsoftware.org/is/5/innosetup-5.5.9-unicode.exe -OutFile deps\innosetup-unicode.exe + & deps\innosetup-unicode.exe /VERYSILENT | Out-Null + + Invoke-WebRequest https://bitbucket.org/mitrich_k/inno-download-plugin/downloads/idpsetup-1.5.1.exe -OutFile deps\idpsetup.exe + & deps\idpsetup.exe /VERYSILENT + + Invoke-WebRequest https://dl.hexchat.net/gtk/gtk-${{ matrix.platform }}-2018-08-29.7z -OutFile deps\gtk-${{ matrix.arch }}.7z + & 7z.exe x deps\gtk-${{ matrix.arch }}.7z -oC:\gtk-build\gtk + + Invoke-WebRequest https://dl.hexchat.net/gtk-win32/gendef-20111031.7z -OutFile deps\gendef.7z + & 7z.exe x deps\gendef.7z -oC:\gtk-build + + Invoke-WebRequest https://dl.hexchat.net/gtk-win32/WinSparkle-20151011.7z -OutFile deps\WinSparkle.7z + & 7z.exe x deps\WinSparkle.7z -oC:\gtk-build\WinSparkle + + Invoke-WebRequest https://dl.hexchat.net/misc/perl/perl-5.20.0-${{ matrix.arch }}.7z -OutFile deps\perl-${{ matrix.arch }}.7z + & 7z.exe x deps\perl-${{ matrix.arch }}.7z -oC:\gtk-build\perl-5.20\${{ matrix.platform }} + + New-Item -Path "c:\gtk-build" -Name "python-2.7" -ItemType "Directory" + New-Item -Path "c:\gtk-build" -Name "python-3.6" -ItemType "Directory" + New-Item -Path "c:\gtk-build\python-2.7" -Name "${{ matrix.platform }}" -ItemType "SymbolicLink" -Value "C:/hostedtoolcache/windows/Python/2.7.17/${{ matrix.arch }}" + New-Item -Path "c:\gtk-build\python-3.6" -Name "${{ matrix.platform }}" -ItemType "SymbolicLink" -Value "C:/hostedtoolcache/windows/Python/3.6.8/${{ matrix.arch }}" + + C:/hostedtoolcache/windows/Python/3.6.8/${{ matrix.arch }}/python.exe -m pip install cffi + C:/hostedtoolcache/windows/Python/2.7.17/${{ matrix.arch }}/python.exe -m pip install -qq cffi + shell: powershell + + - name: Build + run: | + call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" + msbuild win32\hexchat.sln /m /verbosity:minimal /p:Configuration=Release /p:Platform=${{ matrix.platform }} + shell: cmd + + - name: Preparing Artifacts + run: | + move ..\hexchat-build\${{ matrix.platform }}\HexChat*.exe .\ + move ..\hexchat-build .\ + shell: cmd + + - uses: actions/upload-artifact@v2-preview + with: + name: Installer + path: HexChat*.exe + + - uses: actions/upload-artifact@v2-preview + with: + name: Build + path: hexchat-build diff --git a/win32/installer/hexchat.iss.tt b/win32/installer/hexchat.iss.tt index 3ac5ec41..be985384 100644 --- a/win32/installer/hexchat.iss.tt +++ b/win32/installer/hexchat.iss.tt @@ -31,9 +31,9 @@ Compression=lzma2/ultra64 SourceDir=..\rel OutputDir=.. #if APPARCH == "x64" -OutputBaseFilename={#APPNAM} {#APPVER} x64 +OutputBaseFilename={#APPNAM}-{#APPVER}_x64 #else -OutputBaseFilename={#APPNAM} {#APPVER} x86 +OutputBaseFilename={#APPNAM}-{#APPVER}_x86 #endif FlatComponentsList=no PrivilegesRequired=none -- cgit 1.4.1 From 65930492ca6fff4beb25d8ee4f4b1e99058e8846 Mon Sep 17 00:00:00 2001 From: DjLegolas Date: Sat, 30 Jan 2021 23:49:17 +0200 Subject: ci: fixed Inno Download Plugin download path --- .github/workflows/windows-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index 82b5bcec..21bb8b37 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -27,7 +27,7 @@ jobs: Invoke-WebRequest http://files.jrsoftware.org/is/5/innosetup-5.5.9-unicode.exe -OutFile deps\innosetup-unicode.exe & deps\innosetup-unicode.exe /VERYSILENT | Out-Null - Invoke-WebRequest https://bitbucket.org/mitrich_k/inno-download-plugin/downloads/idpsetup-1.5.1.exe -OutFile deps\idpsetup.exe + Invoke-WebRequest https://dl.hexchat.net/misc/idpsetup-1.5.1.exe -OutFile deps\idpsetup.exe & deps\idpsetup.exe /VERYSILENT Invoke-WebRequest https://dl.hexchat.net/gtk/gtk-${{ matrix.platform }}-2018-08-29.7z -OutFile deps\gtk-${{ matrix.arch }}.7z -- cgit 1.4.1 From 5310f451f2ad6fa49255fc507246a35aeb4ebef8 Mon Sep 17 00:00:00 2001 From: DjLegolas Date: Sat, 30 Jan 2021 23:58:44 +0200 Subject: ci: fixed python paths --- .github/workflows/windows-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index 21bb8b37..f8a965f9 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -44,11 +44,11 @@ jobs: New-Item -Path "c:\gtk-build" -Name "python-2.7" -ItemType "Directory" New-Item -Path "c:\gtk-build" -Name "python-3.6" -ItemType "Directory" - New-Item -Path "c:\gtk-build\python-2.7" -Name "${{ matrix.platform }}" -ItemType "SymbolicLink" -Value "C:/hostedtoolcache/windows/Python/2.7.17/${{ matrix.arch }}" + New-Item -Path "c:\gtk-build\python-2.7" -Name "${{ matrix.platform }}" -ItemType "SymbolicLink" -Value "C:/hostedtoolcache/windows/Python/2.7.18/${{ matrix.arch }}" New-Item -Path "c:\gtk-build\python-3.6" -Name "${{ matrix.platform }}" -ItemType "SymbolicLink" -Value "C:/hostedtoolcache/windows/Python/3.6.8/${{ matrix.arch }}" C:/hostedtoolcache/windows/Python/3.6.8/${{ matrix.arch }}/python.exe -m pip install cffi - C:/hostedtoolcache/windows/Python/2.7.17/${{ matrix.arch }}/python.exe -m pip install -qq cffi + C:/hostedtoolcache/windows/Python/2.7.18/${{ matrix.arch }}/python.exe -m pip install -qq cffi shell: powershell - name: Build -- cgit 1.4.1