Skip to content

Commit

Permalink
Fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
brotherofken committed Mar 1, 2020
1 parent 4939095 commit 9fb2fb4
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
needs: build_halide
runs-on: ubuntu-latest
env:
BUILD_DIR: ${{github.workspace}}/build
HALIDE_DISTRIB_DIR: ${{github.workspace}}/3rdparty/Halide

steps:
Expand All @@ -52,22 +53,23 @@ jobs:
uses: actions/download-artifact@v1
with:
name: halide-install
path: ${{github.workspace}}/3rdparty/Halide/
path: ${{jobs.build_all.env.HALIDE_DISTRIB_DIR}}
# path: ${{github.workspace}}/3rdparty/Halide/

- name: Install Dependencies
run: sudo apt update && sudo apt install -y libtiff-dev libraw-dev libpng-dev libjpeg-dev zlib1g-dev

- name: Configure CMake
shell: bash
working-directory: ${{github.workspace}}/build
working-directory: ${{github.workspace}}
run: |
cd ${{github.workspace}}/build && cmake -DHALIDE_DISTRIB_DIR=${HALIDE_DISTRIB_DIR} -DCMAKE_BUILD_TYPE=$BUILD_TYPE ..
mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR}
cmake -DHALIDE_DISTRIB_DIR=${HALIDE_DISTRIB_DIR} -DCMAKE_BUILD_TYPE=$BUILD_TYPE ..
- name: Build
working-directory: ${{github.workspace}}/build
shell: bash
# Execute the build. You can specify a specific target with "--target <NAME>"
run: cd ${{github.workspace}}/build && make -j 8 all
working-directory: ${{github.workspace}}
run: cd ${BUILD_DIR} && make -j 8 all

# - name: Test
# working-directory: ${{runner.workspace}}/build
Expand Down

0 comments on commit 9fb2fb4

Please sign in to comment.