Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Grégoire Locqueville
purescript-gargantext
Commits
ccdda7a6
Verified
Commit
ccdda7a6
authored
May 10, 2024
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CI] gitlab-ci cleanup, node_modules, .spago cache
parent
ebc8d62e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
15 deletions
+4
-15
.gitlab-ci.yml
.gitlab-ci.yml
+4
-15
No files found.
.gitlab-ci.yml
View file @
ccdda7a6
# Thanks to:
# https://vadosware.io/post/zero-to-continuous-integrated-testing-a-haskell-project-with-gitlab/
#
# Fixing the nixos image saves CI time so it doesn't have to pull new
# Fixing the nixos image saves CI time so it doesn't have to pull new
#image every time (nixos/nix updates quite often).
#image every time (nixos/nix updates quite often).
# image: nixos/nix:latest
# image: nixos/nix:latest
image
:
nixos/nix:2.22.0
image
:
nixos/nix:2.22.0
variables
:
STACK_ROOT
:
"
${CI_PROJECT_DIR}/.stack-root"
STACK_OPTS
:
"
--system-ghc"
#before_script:
#before_script:
#- nix-env -iA nixpkgs.nix nixpkgs.cacert
#- nix-env -iA nixpkgs.nix nixpkgs.cacert
#- apt-get update
#- apt-get update
...
@@ -27,7 +19,6 @@ stages:
...
@@ -27,7 +19,6 @@ stages:
# paths:
# paths:
# - /nix/store
# - /nix/store
# #- node_modules/
# #- node_modules/
# #- ${CI_PROJECT_DIR}/bun.lockb
# script:
# script:
# - nix-shell shell.nix --run 'bun install --skip-builds'
# - nix-shell shell.nix --run 'bun install --skip-builds'
...
@@ -36,10 +27,9 @@ compile:
...
@@ -36,10 +27,9 @@ compile:
cache
:
cache
:
paths
:
paths
:
-
/nix/store
-
/nix/store
#
- node_modules/
-
node_modules/
-
output/
-
output/
#- .spago/
-
.spago/
#- ${CI_PROJECT_DIR}/bun.lockb
script
:
script
:
-
nix --extra-experimental-features "nix-command flakes" run .#compile
-
nix --extra-experimental-features "nix-command flakes" run .#compile
...
@@ -51,10 +41,9 @@ test:
...
@@ -51,10 +41,9 @@ test:
# key: ${CI_COMMIT_REF_SLUG}
# key: ${CI_COMMIT_REF_SLUG}
paths
:
paths
:
-
/nix/store
-
/nix/store
#
- node_modules/
-
node_modules/
-
output/
-
output/
#- .spago/
-
.spago/
#- ${CI_PROJECT_DIR}/bun.lockb
script
:
script
:
-
nix --extra-experimental-features "nix-command flakes" run .#test-ps
-
nix --extra-experimental-features "nix-command flakes" run .#test-ps
...
...
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