Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Komodo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dragoon
Komodo
Commits
7b9104e2
Commit
7b9104e2
authored
Mar 21, 2024
by
STEVAN Antoine
Browse files
Options
Downloads
Patches
Plain Diff
refactor the CI into a Makefile (
!41
)
as per title
parent
4c1b0a25
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!41
refactor the CI into a Makefile
Pipeline
#4497
failed
Mar 21, 2024
Stage: fmt
Stage: test
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+3
-14
3 additions, 14 deletions
.gitlab-ci.yml
Makefile
+27
-0
27 additions, 0 deletions
Makefile
with
30 additions
and
14 deletions
.gitlab-ci.yml
+
3
−
14
View file @
7b9104e2
...
...
@@ -23,7 +23,7 @@ fmt:
-
rustup component add rustfmt
script
:
-
cargo fmt --all -- --check
-
make fmt
test
:
stage
:
test
...
...
@@ -36,12 +36,6 @@ test:
-
rustup component add clippy
-
rustup --version
-
rustup show --verbose
-
rustc --version
-
cargo --version
-
cargo clippy --version
-
export NUSHELL_BUILD="nu-$NUSHELL_VERSION-$NUSHELL_ARCH"
-
export PATH="/tmp/:$PATH"
...
...
@@ -50,12 +44,7 @@ test:
-
tar xvf /tmp/nu.tar.gz --directory /tmp
-
cp "/tmp/$NUSHELL_BUILD/nu" /tmp/nu
-
nu --version
-
make show
script
:
-
cargo check --workspace --all-targets
-
cargo clippy --workspace --all-targets -- -D warnings
-
cargo test --workspace --verbose
-
nu tests/cli.nu
-
nu tests/binary.nu
-
nu examples/cli.nu
-
make check clippy test example
This diff is collapsed.
Click to expand it.
Makefile
0 → 100644
+
27
−
0
View file @
7b9104e2
.PHONY
:
fmt check clippy test example show
DEFAULT_GOAL
:
fmt check clippy test
fmt
:
cargo
fmt
--all
--
--check
check
:
cargo check
--workspace
--all-targets
clippy
:
cargo clippy
--workspace
--all-targets
--
-D
warnings
test
:
cargo
test
--workspace
--verbose
nu tests/cli.nu
nu tests/binary.nu
example
:
nu examples/cli.nu
show
:
rustup
--version
rustup show
--verbose
rustc
--version
cargo
--version
cargo clippy
--version
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