-
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' for release v3.29.1
- Loading branch information
Showing
11 changed files
with
81 additions
and
24 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,34 @@ | ||
name: Build (arch) | ||
on: [push, pull_request] | ||
jobs: | ||
Build: | ||
strategy: | ||
matrix: | ||
BUILD_TYPE: [Release, Debug] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check Out Repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: Cache Docker layers | ||
uses: actions/cache@v2 | ||
with: | ||
path: /tmp/.buildx-cache | ||
key: ${{ runner.os }}-buildx-${{ github.sha }} | ||
restore-keys: | | ||
${{ runner.os }}-buildx- | ||
- name: Set up Docker Buildx | ||
id: buildx | ||
uses: docker/setup-buildx-action@v1 | ||
|
||
- name: Build | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: ./ | ||
file: ./Dockerfile-build-arch | ||
builder: ${{ steps.buildx.outputs.name }} | ||
build-args: LMS_BUILD_TYPE=${{ matrix.BUILD_TYPE }} | ||
push: false | ||
cache-from: type=local,src=/tmp/.buildx-cache | ||
cache-to: type=local,dest=/tmp/.buildx-cache |
File renamed without changes.
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,26 @@ | ||
FROM archlinux:latest | ||
|
||
ARG BUILD_PACKAGES="\ | ||
clang \ | ||
cmake \ | ||
boost \ | ||
ffmpeg \ | ||
gtest \ | ||
graphicsmagick \ | ||
libconfig \ | ||
make \ | ||
pkgconfig \ | ||
taglib \ | ||
wt" | ||
|
||
RUN pacman -Syy | ||
RUN pacman -S --noconfirm ${BUILD_PACKAGES} | ||
|
||
# LMS | ||
COPY . /tmp/lms/ | ||
ARG LMS_BUILD_TYPE="Release" | ||
RUN \ | ||
DIR=/tmp/lms/build && mkdir -p ${DIR} && cd ${DIR} && \ | ||
cmake /tmp/lms/ -DCMAKE_BUILD_TYPE=${LMS_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX=/usr && \ | ||
VERBOSE=1 make -j$(nproc) && \ | ||
make test |
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,4 +1,4 @@ | ||
FROM alpine:3.16 AS build | ||
FROM alpine:3.14 AS build | ||
|
||
WORKDIR /tmp/workdir | ||
|
||
|
@@ -132,7 +132,7 @@ RUN \ | |
rm -rf /tmp/fakeroot/share/Wt/resources/themes | ||
|
||
## Release Stage | ||
FROM alpine:3.16 AS release | ||
FROM alpine:3.14 AS release | ||
LABEL maintainer="Emeric Poupon <[email protected]>" | ||
|
||
ARG RUNTIME_PACKAGES=" \ | ||
|
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
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