chore: fix builds
This commit is contained in:
parent
1c3988206e
commit
287d86e9e9
1 changed files with 10 additions and 1 deletions
|
@ -4,6 +4,9 @@ before_script:
|
||||||
# Install some stuff that the image doesn't come with
|
# Install some stuff that the image doesn't come with
|
||||||
- apt update -yqq
|
- apt update -yqq
|
||||||
- apt install git libpq-dev libzip-dev zip make wget gnupg -yqq
|
- apt install git libpq-dev libzip-dev zip make wget gnupg -yqq
|
||||||
|
- curl -sSLf -o /usr/local/bin/install-php-extensions https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions
|
||||||
|
- chmod +x /usr/local/bin/install-php-extensions
|
||||||
|
- install-php-extensions zip
|
||||||
|
|
||||||
# Install phive
|
# Install phive
|
||||||
- wget -O phive.phar https://phar.io/releases/phive.phar
|
- wget -O phive.phar https://phar.io/releases/phive.phar
|
||||||
|
@ -20,7 +23,13 @@ before_script:
|
||||||
- git clone https://git.n64.cc/nosial/ncc.git
|
- git clone https://git.n64.cc/nosial/ncc.git
|
||||||
- cd ncc
|
- cd ncc
|
||||||
- make redist
|
- make redist
|
||||||
- php build/src/INSTALL --auto --install-composer
|
- NCC_DIR=$(find build/ -type d -name "ncc_*" | head -n 1)
|
||||||
|
- |
|
||||||
|
if [ -z "$NCC_DIR" ]; then
|
||||||
|
echo "NCC build directory not found"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
- php "$NCC_DIR/INSTALL" --auto --install-composer
|
||||||
- cd .. && rm -rf ncc
|
- cd .. && rm -rf ncc
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
|
Loading…
Add table
Reference in a new issue