Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
boytacean
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
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
João Magalhães
boytacean
Commits
8fd8601c
Verified
Commit
8fd8601c
authored
2 years ago
by
João Magalhães
Browse files
Options
Downloads
Patches
Plain Diff
feat: commented GitHub Actions
parent
99fa4d4e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#1886
passed
2 years ago
Stage: build
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/main.yml
+14
-0
14 additions, 0 deletions
.github/workflows/main.yml
with
14 additions
and
0 deletions
.github/workflows/main.yml
+
14
−
0
View file @
8fd8601c
...
...
@@ -25,11 +25,17 @@ jobs:
-
run
:
|
rustup component add rustfmt
rustup component add clippy
name
:
Install Rust components
-
run
:
rustc --version
name
:
Print Rust information
-
run
:
cargo fmt --all -- --check
name
:
Verify Rust code format
-
run
:
cargo clippy -- -D warnings -A unknown-lints
name
:
Verify Rust code linting
-
run
:
cargo build
name
:
Build development version
-
run
:
cargo build --release
name
:
Build release version
build-wasm
:
name
:
Build WASM
timeout-minutes
:
30
...
...
@@ -51,10 +57,18 @@ jobs:
-
run
:
|
rustup component add rustfmt
rustup component add clippy
name
:
Install Rust components
-
run
:
rustc --version
name
:
Print Rust information
-
run
:
cargo fmt --all -- --check
name
:
Verify Rust code format
-
run
:
cargo clippy -- -D warnings -A unknown-lints
name
:
Verify Rust code linting
-
run
:
cargo install wasm-pack
name
:
Install wasm-pack
-
run
:
wasm-pack build --release --target=web --out-dir=frontends/web/lib -- --features wasm
name
:
Build WASM Web binary
-
run
:
apt-get update && apt-get install -y -q nodejs npm
name
:
Install Node.js
-
run
:
cd frontends/web && npm install && npm run build && npm run lint
name
:
Build and lint Web code
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