Skip to content

Commit

Permalink
CI: fix install dir and add missing build deps (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalyster authored Mar 31, 2020
1 parent e5da7da commit 1cac20e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install build dependencies
run: choco install unzip
run: choco install unzip zip
- name: prepare
run: |
mkdir ${{ env.build_dir }}
Expand All @@ -49,7 +49,7 @@ jobs:
uses: microsoft/[email protected]
- name: configure
working-directory: ${{ env.build_dir }}
run: cmake ../PlaygroundGUI -DCMAKE_BUILD_TYPE=${{ matrix.configuration }} -A ${{ matrix.platform }} -Dautomaton_PATH=./local_third_party -DCMAKE_INSTALL_PREFIX=${{ env.inst_dir }}
run: cmake ../PlaygroundGUI -DCMAKE_BUILD_TYPE=${{ matrix.configuration }} -A ${{ matrix.platform }} -Dautomaton_PATH=./local_third_party -DCMAKE_INSTALL_PREFIX=./inst
shell: cmd
- name: build
working-directory: ${{ env.build_dir }}
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
unzip automaton-Linux-${{ matrix.configuration}}-${{ env.automaton_version }}.zip
- name: configure
working-directory: ${{ env.build_dir }}
run: cmake ../PlaygroundGUI -DCMAKE_BUILD_TYPE=${{ matrix.configuration }} -Dautomaton_PATH=./local_third_party -DCMAKE_INSTALL_PREFIX=${{ env.inst_dir }}
run: cmake ../PlaygroundGUI -DCMAKE_BUILD_TYPE=${{ matrix.configuration }} -Dautomaton_PATH=./local_third_party -DCMAKE_INSTALL_PREFIX=./inst
- name: build
working-directory: ${{ env.build_dir }}
run: make install
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
unzip automaton-macOS-${{ matrix.configuration}}-${{ env.automaton_version }}.zip
- name: configure
working-directory: ${{ env.build_dir }}
run: cmake ../PlaygroundGUI -DCMAKE_BUILD_TYPE=${{ matrix.configuration }} -Dautomaton_PATH=./local_third_party -DCMAKE_INSTALL_PREFIX=${{ env.inst_dir }}
run: cmake ../PlaygroundGUI -DCMAKE_BUILD_TYPE=${{ matrix.configuration }} -Dautomaton_PATH=./local_third_party -DCMAKE_INSTALL_PREFIX=./inst
- name: build
working-directory: ${{ env.build_dir }}
run: make install
Expand Down

0 comments on commit 1cac20e

Please sign in to comment.