add info about beefweb_dotnet #315
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
name: build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build_deadbeef: | |
runs-on: ubuntu-22.04 | |
env: | |
DOCKER_IMAGE: ubuntu-14.04 | |
BUILD_TYPE: Release | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build docker image | |
run: ci/docker/build-image.sh | |
- name: Install apps | |
run: ci/install.sh | |
- name: Build | |
run: ci/build.sh | |
- name: Test | |
run: ci/test.sh | |
- name: Upload binaries | |
uses: actions/upload-artifact@v4 | |
with: | |
name: beefweb_deadbeef | |
if-no-files-found: error | |
path: build/${{ env.BUILD_TYPE }}.pkg/*.tar.gz | |
build_foobar2000: | |
runs-on: windows-2022 | |
defaults: | |
run: | |
shell: cmd | |
strategy: | |
matrix: | |
arch: | |
- Win32 | |
- x64 | |
env: | |
BUILD_TYPE: Release | |
BUILD_ARCH: ${{ matrix.arch }} | |
steps: | |
- name: Set git to use LF | |
run: | | |
git config --global core.autocrlf false | |
git config --global core.eol lf | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup MSVC | |
uses: ilammy/msvc-dev-cmd@v1 | |
with: | |
arch: ${{ matrix.arch }} | |
- name: Install apps | |
run: cmd /c ci\install.cmd | |
- name: Build | |
run: cmd /c ci\build.cmd | |
- name: Test | |
run: cmd /c ci\test.cmd | |
- name: Upload binaries | |
uses: actions/upload-artifact@v4 | |
with: | |
name: 'beefweb_foobar2000_${{ matrix.arch }}' | |
if-no-files-found: error | |
path: | | |
build\${{ env.BUILD_TYPE }}.pkg\*.fb2k-component | |
build\${{ env.BUILD_TYPE }}.pkg\*.zip | |
merge_foobar2000_packages: | |
runs-on: ubuntu-22.04 | |
needs: build_foobar2000 | |
steps: | |
- name: Download original packages | |
uses: actions/download-artifact@v4 | |
with: | |
pattern: beefweb_foobar2000_* | |
merge-multiple: true | |
path: input | |
- name: Merge packages | |
run: | | |
pkg_ext=fb2k-component | |
pkg_32=$(pwd)/input/*-x86.$pkg_ext | |
pkg_64=$(pwd)/input/*-x64.$pkg_ext | |
pkg_unified=$(pwd)/output/$(basename $pkg_32 -x86.$pkg_ext).$pkg_ext | |
mkdir -p work/x64 output | |
(cd work/x64 && unzip $pkg_64 '*.dll') | |
cp $pkg_32 $pkg_unified | |
(cd work && zip -r -9 $pkg_unified *) | |
- name: Upload merged package | |
uses: actions/upload-artifact@v4 | |
with: | |
name: beefweb_foobar2000 | |
if-no-files-found: error | |
path: output/*.fb2k-component |