]> git.eshelyaron.com Git - sweep.git/commitdiff
Run `ninja install` as root in CI
authorEshel Yaron <me@eshelyaron.com>
Wed, 31 Aug 2022 14:13:04 +0000 (17:13 +0300)
committerEshel Yaron <me@eshelyaron.com>
Wed, 31 Aug 2022 14:13:04 +0000 (17:13 +0300)
.build.yml

index 9f0909ee279ad6017fafd4b6c110aa3a0501132f..38f04e5de4119cb8e8187db7380469fbfd98c3ac 100644 (file)
@@ -43,7 +43,7 @@ tasks:
       localectl set-locale LANG=en_US.UTF-8
       cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DSWIPL_INSTALL_IN_LIB=ON -DSWIPL_PACKAGES_ODBC=OFF -DSWIPL_PACKAGES_JAVA=OFF -DSWIPL_PACKAGES_X=OFF -DINSTALL_DOCUMENTATION=OFF -G Ninja ..
       ninja
-      ninja install
+      sudo ninja install
   - build: |
       cd sweep
       export LD_LIBRARY_PATH=/usr/local/lib