File tree Expand file tree Collapse file tree 1 file changed +34
-2
lines changed Expand file tree Collapse file tree 1 file changed +34
-2
lines changed Original file line number Diff line number Diff line change 6
6
- cron : ' 30 3 * * *'
7
7
8
8
jobs :
9
- build :
9
+ build-drupal9 :
10
10
runs-on : ubuntu-20.04
11
11
steps :
12
12
- uses : actions/checkout@v2
36
36
run : |
37
37
/bin/sh docker-images/export.sh --version latest --image-name ce-dev --dockerfile-path base
38
38
/bin/sh docker-images/export.sh --version latest --image-name ce-dev-controller --dockerfile-path controller
39
- /bin/sh templates/prebuild.sh
39
+ /bin/sh templates/prebuild.sh --projects "blank drupal9"
40
+
41
+ build-drupal10 :
42
+ runs-on : ubuntu-20.04
43
+ steps :
44
+ - uses : actions/checkout@v2
45
+ with :
46
+ ref : ' 1.x'
47
+ - name : Install modules
48
+ run : yarn
49
+ # Uses https://oclif.io/
50
+ # Not strictly necessary here, but ensures the packing works
51
+ - name : Pack the JS
52
+ run : yarn oclif-dev pack
53
+ # We build mkcert from source because releases are broken
54
+ - name : Install test dependencies
55
+ run : |
56
+ sudo apt-get update
57
+ sudo apt-get install -y p7zip-full libnss3-tools wget
58
+ cd /tmp
59
+ wget https://golang.org/dl/go1.16.3.linux-amd64.tar.gz
60
+ sudo tar -C /usr/local -xzf go1.16.3.linux-amd64.tar.gz
61
+ export PATH=$PATH:/usr/local/go/bin
62
+ git clone https://github.com/FiloSottile/mkcert && cd mkcert
63
+ go build -ldflags "-X main.Version=$(git describe --tags)"
64
+ sudo mv ./mkcert /usr/local/bin && cd ../
65
+ sudo chmod +x /usr/local/bin/mkcert
66
+ rm -Rf mkcert
67
+ - name : Build and test
68
+ run : |
69
+ /bin/sh docker-images/export.sh --version latest --image-name ce-dev --dockerfile-path base
70
+ /bin/sh docker-images/export.sh --version latest --image-name ce-dev-controller --dockerfile-path controller
71
+ /bin/sh templates/prebuild.sh --projects drupal10
You can’t perform that action at this time.
0 commit comments