Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
ion
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Enzo Cioppettini
ion
Commits
71cf27c0
Unverified
Commit
71cf27c0
authored
7 years ago
by
Ian Douglas Scott
Browse files
Options
Downloads
Patches
Plain Diff
Build for Redox on Travis
parent
990a35dc
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.cargo/config
+2
-0
2 additions, 0 deletions
.cargo/config
.gitignore
+2
-0
2 additions, 0 deletions
.gitignore
.travis.yml
+9
-4
9 additions, 4 deletions
.travis.yml
.travis/redox-toolchain.sh
+7
-0
7 additions, 0 deletions
.travis/redox-toolchain.sh
with
20 additions
and
4 deletions
.cargo/config
0 → 100644
+
2
−
0
View file @
71cf27c0
[target.x86_64-unknown-redox]
linker = "x86_64-unknown-redox-gcc"
This diff is collapsed.
Click to expand it.
.gitignore
+
2
−
0
View file @
71cf27c0
.*
!.cargo
!.travis
cachegrind.*
perf.*
target
...
...
This diff is collapsed.
Click to expand it.
.travis.yml
+
9
−
4
View file @
71cf27c0
language
:
rust
rust
:
-
nightly
sudo
:
fals
e
sudo
:
tru
e
notifications
:
email
:
false
env
:
-
REDOX=
-
REDOX=1 CC=x86_64-unknown-redox-gcc CARGO_ARGS='--target=x86_64-unknown-redox'
before_install
:
-
if [ $REDOX ]; then ./.travis/redox-toolchain.sh; fi
script
:
-
cargo build
-
cargo test
-
bash examples/run_examples.sh
-
cargo build
$CARGO_ARGS
-
if [ ! $REDOX ]; then
cargo test
; fi
-
if [ ! $REDOX ]; then
bash examples/run_examples.sh
; fi
This diff is collapsed.
Click to expand it.
.travis/redox-toolchain.sh
0 → 100755
+
7
−
0
View file @
71cf27c0
#!/bin/bash
rustup target add x86_64-unknown-redox
sudo
apt-key adv
--keyserver
keyserver.ubuntu.com
--recv-keys
AA12E97F0881517F
sudo
add-apt-repository
'deb https://static.redox-os.org/toolchain/apt /'
sudo
apt-get update
-qq
sudo
apt-get
install
-y
x86-64-unknown-redox-gcc
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