Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
felixmoebius
libc
Commits
87fdebde
Commit
87fdebde
authored
9 years ago
by
Alex Crichton
Browse files
Options
Downloads
Patches
Plain Diff
Use MSYS2 on appveyor
parent
a3c854d9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
appveyor.yml
+12
-2
12 additions, 2 deletions
appveyor.yml
ci/msys2.ps1
+20
-0
20 additions, 0 deletions
ci/msys2.ps1
with
32 additions
and
2 deletions
appveyor.yml
+
12
−
2
View file @
87fdebde
environment
:
global
:
MSYS2_BASEVER
:
20150512
matrix
:
-
TARGET
:
x86_64-pc-windows-gnu
MSYS2_ARCH
:
x86_64
MSYS2_BITS
:
64
MSYSTEM
:
MINGW64
-
TARGET
:
i686-pc-windows-gnu
MSYS2_ARCH
:
i686
MSYS2_BITS
:
32
MSYSTEM
:
MINGW32
-
TARGET
:
x86_64-pc-windows-msvc
-
TARGET
:
i686-pc-windows-msvc
-
TARGET
:
i686-pc-windows-gnu
install
:
-
ps
:
ci\msys2.ps1
-
ps
:
Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe"
-
rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
-
SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
-
SET PATH=%PATH%;C:\MinGW
\bin
-
if defined MSYS2_BITS set PATH=%PATH%;%CD%\msys2\mingw%MSYS2_BITS%
\bin
-
rustc -V
-
cargo -V
...
...
This diff is collapsed.
Click to expand it.
ci/msys2.ps1
0 → 100644
+
20
−
0
View file @
87fdebde
If
(
!
${env:MSYS2_ARCH}
)
{
Exit
0
}
Start-FileDownload
`
(
"http://kent.dl.sourceforge.net/project/msys2/Base/"
+
`
$
env
:
MSYS2_ARCH
+
"/msys2-base-"
+
$
env
:
MSYS2_ARCH
+
"-"
+
`
$
env
:
MSYS2_BASEVER
+
".tar.xz"
)
`
-FileName
"msys2.tar.xz"
7
z
x
msys2.tar.xz
7
z
x
msys2.tar
>
$nul
Move-Item
(
"msys"
+
$
env
:
MSYS2_BITS
)
msys2
.
\msys2\usr\bin\bash.exe
-lc
""
.
\msys2\usr\bin\bash.exe
-lc
`
(
"for i in {1..3}; do "
+
`
"pacman --noconfirm -Suy mingw-w64-"
+
$
env
:
MSYS2_ARCH
+
"-gcc "
+
`
"&& break || sleep 15; "
+
`
"done"
)
.
\msys2\autorebase.bat
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment