Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Mycard Bin Mat
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Mycard Bin Mat
Commits
ea5c21a6
Commit
ea5c21a6
authored
Aug 05, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'build-zstd'
parents
33b3b48b
5adee42a
Pipeline
#21466
failed with stages
in 1 minute and 50 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
13 deletions
+23
-13
.gitlab-ci.yml
.gitlab-ci.yml
+23
-13
No files found.
.gitlab-ci.yml
View file @
ea5c21a6
variables
:
variables
:
GIT_DEPTH
:
"
1"
GIT_DEPTH
:
"
1"
ARIA2_VERSION
:
'
1.36.0'
ARIA2_VERSION
:
'
1.36.0'
ZSTD_VERSION
:
'
1.5.2'
stages
:
stages
:
-
prepare
-
prepare
...
@@ -8,7 +9,7 @@ stages:
...
@@ -8,7 +9,7 @@ stages:
-
combine
-
combine
-
deploy
-
deploy
aria2
_src
:
get
_src
:
stage
:
prepare
stage
:
prepare
tags
:
tags
:
-
linux
-
linux
...
@@ -18,36 +19,45 @@ aria2_src:
...
@@ -18,36 +19,45 @@ aria2_src:
#- cd aria2-src
#- cd aria2-src
#- autoreconf -i
#- autoreconf -i
#- cd ..
#- cd ..
-
mkdir aria2-src
-
mkdir -p src/aria2 src/zstd
-
wget -O - https://github.com/aria2/aria2/releases/download/release-${ARIA2_VERSION}/aria2-${ARIA2_VERSION}.tar.gz | tar --strip-components=1 -C aria2-src -zxf -
-
wget -O - https://github.com/aria2/aria2/releases/download/release-${ARIA2_VERSION}/aria2-${ARIA2_VERSION}.tar.gz | tar --strip-components=1 -C src/aria2 -zxf -
-
wget -O - https://github.com/facebook/zstd/releases/download/v${ZSTD_VERSION}/zstd-${ZSTD_VERSION}.tar.gz | tar --strip-components=1 -C src/zstd -zxf -
artifacts
:
artifacts
:
paths
:
paths
:
-
aria2-
src
-
src
.macOS_bin_arch
:
.macOS_bin_arch
:
stage
:
build
stage
:
build
before_script
:
before_script
:
-
brew install automake autoconf libtool pkg-config docutils libxml2 git gnu-tar
zstd
-
brew install automake autoconf libtool pkg-config docutils libxml2 git gnu-tar
dependencies
:
dependencies
:
-
aria2
_src
-
get
_src
artifacts
:
artifacts
:
paths
:
paths
:
-
arch-bin
-
arch-bin
script
:
script
:
# gtar
-
mkdir -p arch-bin/${targetArch}
-
cp -L -f ${homebrewRoot}/bin/gtar arch-bin/${targetArch}/
# zstd
-
cd src/zstd/programs
-
make -j4 HAVE_LZMA=0 HAVE_LZ4=0 HAVE_ZLIB=0
-
cp -L -f ./zstd ../../../arch-bin/${targetArch}/
-
cd ../..
# aria2
-
export PATH=${PATH}:${homebrewRoot}/opt/gettext/bin
-
export PATH=${PATH}:${homebrewRoot}/opt/gettext/bin
-
export PKG_CONFIG_PATH="${homebrewRoot}/opt/libxml2/lib/pkgconfig"
-
export PKG_CONFIG_PATH="${homebrewRoot}/opt/libxml2/lib/pkgconfig"
-
export LDFLAGS="-L${homebrewRoot}/opt/libxml2/lib"
-
export LDFLAGS="-L${homebrewRoot}/opt/libxml2/lib"
-
export CPPFLAGS="-I${homebrewRoot}/opt/libxml2/include"
-
export CPPFLAGS="-I${homebrewRoot}/opt/libxml2/include"
-
cd aria2
-
cd aria2-src
-
mv ../../aria2-makefiles/Makefile.${targetArch} ./Makefile.release
-
mv ../aria2-makefiles/Makefile.${targetArch} ./Makefile.release
-
make -f ./Makefile.release aria2.${targetArch}.build
-
make -f ./Makefile.release aria2.${targetArch}.build
-
mv aria2.${targetArch}/src/aria2c ../../arch-bin/${targetArch}/
-
cd ..
-
cd ..
-
mkdir -p arch-bin/${targetArch}
-
cd ..
-
cp -L -f ${homebrewRoot}/bin/gtar arch-bin/${targetArch}/
-
cp -L -f ${homebrewRoot}/bin/zstd arch-bin/${targetArch}/
-
mv aria2-src/aria2.${targetArch}/src/aria2c arch-bin/${targetArch}/
macOS_bin_x86_64
:
macOS_bin_x86_64
:
extends
:
.macOS_bin_arch
extends
:
.macOS_bin_arch
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment