|
@@ -17,7 +17,7 @@ on:
|
|
- "!candidate-6.*"
|
|
- "!candidate-6.*"
|
|
|
|
|
|
jobs:
|
|
jobs:
|
|
- pre_job:
|
|
|
|
|
|
+ check-skip:
|
|
# continue-on-error: true # Uncomment once integration is finished
|
|
# continue-on-error: true # Uncomment once integration is finished
|
|
runs-on: ubuntu-20.04
|
|
runs-on: ubuntu-20.04
|
|
# Map a step output to a job output
|
|
# Map a step output to a job output
|
|
@@ -62,8 +62,7 @@ jobs:
|
|
fail-fast: false
|
|
fail-fast: false
|
|
|
|
|
|
name: "Build with vcpkg"
|
|
name: "Build with vcpkg"
|
|
- needs: pre_job
|
|
|
|
- if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
|
|
|
|
|
|
+ needs: check-skip
|
|
runs-on: ${{ matrix.os }}
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
steps:
|
|
- name: Display build summary
|
|
- name: Display build summary
|
|
@@ -73,7 +72,7 @@ jobs:
|
|
echo "Checkout to $Env:GITHUB_WORKSPACE"
|
|
echo "Checkout to $Env:GITHUB_WORKSPACE"
|
|
|
|
|
|
- name: Ubuntu Dependencies
|
|
- name: Ubuntu Dependencies
|
|
- if: ${{ matrix.os == 'ubuntu-20.04' }}
|
|
|
|
|
|
+ if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.os == 'ubuntu-20.04' }}
|
|
shell: "bash"
|
|
shell: "bash"
|
|
run: |
|
|
run: |
|
|
sudo apt-get update -y
|
|
sudo apt-get update -y
|
|
@@ -89,29 +88,33 @@ jobs:
|
|
sudo apt-get install -y nodejs
|
|
sudo apt-get install -y nodejs
|
|
|
|
|
|
- name: OSX Dependencies
|
|
- name: OSX Dependencies
|
|
- if: ${{ matrix.os == 'macos-11' }}
|
|
|
|
|
|
+ if: ${{ needs.pre_job.outputs.should_skip != 'true' && matrix.os == 'macos-11' }}
|
|
shell: "bash"
|
|
shell: "bash"
|
|
run: |
|
|
run: |
|
|
brew install bison flex pkg-config automake libtool cmake
|
|
brew install bison flex pkg-config automake libtool cmake
|
|
|
|
|
|
- name: "Remove builtin vcpkg"
|
|
- name: "Remove builtin vcpkg"
|
|
|
|
+ if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
|
|
working-directory: .
|
|
working-directory: .
|
|
shell: "bash"
|
|
shell: "bash"
|
|
run: |
|
|
run: |
|
|
${{ matrix.sudo }} rm -rf "$VCPKG_INSTALLATION_ROOT"
|
|
${{ matrix.sudo }} rm -rf "$VCPKG_INSTALLATION_ROOT"
|
|
|
|
|
|
- name: Check out source code
|
|
- name: Check out source code
|
|
|
|
+ if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
|
|
uses: actions/checkout@v2
|
|
uses: actions/checkout@v2
|
|
with:
|
|
with:
|
|
submodules: recursive
|
|
submodules: recursive
|
|
|
|
|
|
- name: "vcpkg Bootstrap"
|
|
- name: "vcpkg Bootstrap"
|
|
|
|
+ if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
|
|
working-directory: .
|
|
working-directory: .
|
|
shell: "bash"
|
|
shell: "bash"
|
|
run: |
|
|
run: |
|
|
./vcpkg/bootstrap-vcpkg.sh
|
|
./vcpkg/bootstrap-vcpkg.sh
|
|
|
|
|
|
- name: "Setup NuGet credentials"
|
|
- name: "Setup NuGet credentials"
|
|
|
|
+ if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
|
|
working-directory: ./vcpkg
|
|
working-directory: ./vcpkg
|
|
shell: "bash"
|
|
shell: "bash"
|
|
run: |
|
|
run: |
|
|
@@ -127,6 +130,7 @@ jobs:
|
|
-source "https://nuget.pkg.github.com/hpcc-systems/index.json"
|
|
-source "https://nuget.pkg.github.com/hpcc-systems/index.json"
|
|
|
|
|
|
- name: "Generate HPCC-Platform Build Files"
|
|
- name: "Generate HPCC-Platform Build Files"
|
|
|
|
+ if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
|
|
working-directory: .
|
|
working-directory: .
|
|
shell: "bash"
|
|
shell: "bash"
|
|
run: |
|
|
run: |
|
|
@@ -135,6 +139,7 @@ jobs:
|
|
cmake .. -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake ${{ matrix.cmake_config_options }}
|
|
cmake .. -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake ${{ matrix.cmake_config_options }}
|
|
|
|
|
|
- name: "Build HPCC-Platform"
|
|
- name: "Build HPCC-Platform"
|
|
|
|
+ if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
|
|
working-directory: ./build
|
|
working-directory: ./build
|
|
shell: "bash"
|
|
shell: "bash"
|
|
run: |
|
|
run: |
|