Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mycard
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
syntax_j
mycard
Commits
74a4f690
Commit
74a4f690
authored
Jul 09, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci
parent
6ee42d78
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
89 additions
and
0 deletions
+89
-0
.gitlab.ci.yml
.gitlab.ci.yml
+89
-0
No files found.
.gitlab.ci.yml
0 → 100644
View file @
74a4f690
variables
:
GIT_DEPTH
:
"
1"
stages
:
-
prepare
-
build
-
deploy
macOS_bin
:
stage
:
prepare
tags
:
-
linux
artifacts
:
paths
:
-
bin
script
:
-
mkdir -p bin; curl --location --retry
5 https://github.com/aria2/aria2/releases/download/release-1.29.0/aria2-1.29.0-osx-darwin.tar.bz2
| tar --strip-components=2 -C bin -jxf - aria2-1.29.0/bin/aria2c
windows_bin
:
stage
:
prepare
tags
:
-
linux
artifacts
:
paths
:
-
bin
script
:
-
mkdir -p bin
-
curl --location --retry 5 --output aria2-1.29.0-win-32bit-build1.zip https://github.com/aria2/aria2/releases/download/release-1.29.0/aria2-1.29.0-win-32bit-build1.zip
-
unzip -o aria2-1.29.0-win-32bit-build1.zip aria2-1.29.0-win-32bit-build1/aria2c.exe
-
mv aria2-1.29.0-win-32bit-build1/aria2c.exe bin
-
rm -rf aria2-1.29.0-win-32bit-build1 aria2-1.29.0-win-32bit-build1.zip
-
curl --location --retry 5 "http://downloads.sourceforge.net/project/msys2/REPOS/MSYS2/i686/bsdtar-3.2.1-1-i686.pkg.tar.xz" | tar --strip-components=2 -C bin -Jxf - usr/bin/bsdtar.exe
-
curl --location --retry 5 "http://downloads.sourceforge.net/project/msys2/Base/i686/msys2-base-i686-20161025.tar.xz" | tar --strip-components=3 -C bin -Jxf - msys32/usr/bin/msys-2.0.dll msys32/usr/bin/msys-bz2-1.dll msys32/usr/bin/msys-gcc_s-1.dll msys32/usr/bin/msys-iconv-2.dll msys32/usr/bin/msys-lzma-5.dll msys32/usr/bin/msys-lzo2-2.dll msys32/usr/bin/msys-nettle-6.dll msys32/usr/bin/msys-xml2-2.dll msys32/usr/bin/msys-z.dll msys32/usr/bin/sha256sum.exe msys32/usr/bin/msys-intl-8.dll
windows
:
image
:
chocolateyfest/node
stage
:
build
dependencies
:
-
windows_bin
tags
:
-
windows
script
:
-
npm ci
-
npm run dist
-
dir dist
artifacts
:
paths
:
-
dist/
linux
:
image
:
node:16
stage
:
build
tags
:
-
linux
script
:
-
apt update ; apt -y install python3 build-essential
-
npm ci
-
npm run build
artifacts
:
paths
:
-
dist/
macOS
:
stage
:
build
dependencies
:
-
macOS_bin
tags
:
-
macOS
script
:
-
npm ci
-
npm run build
artifacts
:
paths
:
-
dist/
upload_to_minio
:
stage
:
deploy
dependencies
:
-
macOS
-
windows
-
linux
tags
:
-
linux
script
:
-
aws s3 --endpoint=https://minio.mycard.moe:9000 sync dist/ s3://mycard/mycard-reborn
only
:
-
tags
-
v3
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