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
635189f0
Commit
635189f0
authored
Jul 30, 2022
by
nanahira
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dylib bundle
parent
b3a68c43
Pipeline
#15036
passed with stages
in 1 minute and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
28 deletions
+22
-28
.gitlab-ci.yml
.gitlab-ci.yml
+22
-28
No files found.
.gitlab-ci.yml
View file @
635189f0
...
...
@@ -8,45 +8,39 @@ stages:
-
combine
-
deploy
aria2_src
:
stage
:
prepare
tags
:
-
linux
script
:
#
aria2_src:
#
stage: prepare
#
tags:
#
- linux
#
script:
#- apt update && apt -y install libxml2-dev libcppunit-dev autoconf automake autotools-dev autopoint libtool
#- git clone -b release-${ARIA2_VERSION} https://github.com/aria2/aria2 aria2-src
#- cd aria2-src
#- autoreconf -i
#- cd ..
-
mkdir aria2-src
-
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 -
artifacts
:
paths
:
-
aria2-src
#
- mkdir aria2-src
# - 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 -
#
artifacts:
#
paths:
#
- aria2-src
.macOS_bin_arch
:
stage
:
build
before_script
:
-
brew install automake autoconf libtool pkg-config docutils libxml2 git gnu-tar zstd
dependencies
:
-
aria2_src
-
brew install gnu-tar zstd aria2 dylibbundler libxml2
dependencies
:
[]
artifacts
:
paths
:
-
arch-bin
script
:
-
export PATH=${PATH}:${homebrewRoot}/opt/gettext/bin
-
export PKG_CONFIG_PATH="${homebrewRoot}/opt/libxml2/lib/pkgconfig"
-
export LDFLAGS="-L${homebrewRoot}/opt/libxml2/lib"
-
export CPPFLAGS="-I${homebrewRoot}/opt/libxml2/include"
-
cd aria2-src
-
mv ../aria2-makefiles/Makefile.${targetArch} ./Makefile.release
-
make -f ./Makefile.release aria2.${targetArch}.build
-
mkdir -p arch-bin/${targetArch}
-
cp -L -f ${homebrewRoot}/bin/gtar arch-bin/${targetArch}/
-
cp -L -f ${homebrewRoot}/bin/zstd arch-bin/${targetArch}/
-
mv aria2.${targetArch}/aria2c arch-bin/${targetArch}/
-
targetDir=arch-bin/${targetArch}
-
mkdir -p ${targetDir}
-
cd ${targetDir}
-
cp -L -f ${homebrewRoot}/bin/gtar .
-
cp -L -f ${homebrewRoot}/bin/zstd .
-
cp -L -f ${homebrewRoot}/bin/aria2c .
-
dylibbundler -od -b -x ./aria2c -d ./libs-${targetArch} -p @executable_path/libs-${targetArch}
-
cd ../..
macOS_bin_x86_64
:
extends
:
.macOS_bin_arch
...
...
@@ -78,12 +72,12 @@ macOS_bin:
-
brew install gnu-tar zstd
-
mkdir -p bin dist
-
cd arch-bin/x86_64
-
ls -1 | xargs -I {} lipo -create -output ../../bin/{} {} ../arm64/{}
-
ls -1
| sed '/libs-/d'
| xargs -I {} lipo -create -output ../../bin/{} {} ../arm64/{}
-
cd ../../
-
gtar zcvf ./dist/mycard-mat-macos.tar.gz bin
windows_bin
:
stage
:
prepare
stage
:
build
dependencies
:
[]
tags
:
-
linux
...
...
nanahira
@nanahira
mentioned in commit
52348cf8
·
Jul 30, 2022
mentioned in commit
52348cf8
mentioned in commit 52348cf8eeddfe5d3d88c667acaa3277fda5ae8f
Toggle commit list
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