diff --git a/.github/workflows/linux-java-workflow.yml b/.github/workflows/linux-java-workflow.yml index 2892c5fb9f2..91ce239c6ea 100644 --- a/.github/workflows/linux-java-workflow.yml +++ b/.github/workflows/linux-java-workflow.yml @@ -10,13 +10,15 @@ jobs: - uses: actions/checkout@v3 - name: Build Java lib for Linux - run: make java NUM_THREADS=$(nproc) + run: | + source /opt/rh/devtoolset-11/enable + make java NUM_THREADS=$(nproc) - uses: actions/upload-artifact@v3 with: name: java-lib-linux-x86_64 path: tools/java_api/build/libkuzu_java_native* - + - uses: actions/upload-artifact@v3 with: name: kuzu-linux-jar diff --git a/.github/workflows/linux-nodejs-workflow.yml b/.github/workflows/linux-nodejs-workflow.yml index 3b5f70d1400..79b05b187ce 100644 --- a/.github/workflows/linux-nodejs-workflow.yml +++ b/.github/workflows/linux-nodejs-workflow.yml @@ -22,7 +22,9 @@ jobs: - name: Build Node.js native module working-directory: tools/nodejs_api/package - run: npm i + run: | + source /opt/rh/devtoolset-11/enable + npm i - name: Move Node.js native module working-directory: tools/nodejs_api/package diff --git a/.github/workflows/linux-precompiled-bin-workflow.yml b/.github/workflows/linux-precompiled-bin-workflow.yml index bf97a3ece05..13fc5f58750 100644 --- a/.github/workflows/linux-precompiled-bin-workflow.yml +++ b/.github/workflows/linux-precompiled-bin-workflow.yml @@ -14,7 +14,9 @@ jobs: run: /opt/python/cp310-cp310/bin/python -m pip install networkx --user - name: Build precompiled binaries - run: /opt/python/cp310-cp310/bin/python build.py + run: | + source /opt/rh/devtoolset-11/enable + /opt/python/cp310-cp310/bin/python build.py working-directory: ./scripts/pre-compiled-bins/ - uses: actions/upload-artifact@v3