Skip to content

Commit

Permalink
ci: adjust sequence of steps
Browse files Browse the repository at this point in the history
  • Loading branch information
zsliu98 committed Sep 16, 2023
1 parent 767c3d1 commit 5ede0fb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 225 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/cmake_full_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ jobs:
with:
boost_version: 1.80.0

- name: Configure
shell: bash
run: cmake -B ${{ env.BUILD_DIR }} -G Ninja -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE}} -DCMAKE_C_COMPILER_LAUNCHER=${{ matrix.ccache }} -DCMAKE_CXX_COMPILER_LAUNCHER=${{ matrix.ccache }} -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" .

- name: Setup Environment Variables
shell: bash
run: |
Expand Down
215 changes: 0 additions & 215 deletions .github/workflows/cmake_quick.yml

This file was deleted.

13 changes: 3 additions & 10 deletions .github/workflows/cmake_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,16 +98,13 @@ jobs:
with:
submodules: true # Get JUCE populated

- name: Get lastest tag
uses: "WyriHaximus/github-action-get-previous-tag@v1"
id: get-latest-tag
with:
fallback: 0.0.0
- name: Configure
shell: bash
run: cmake -B ${{ env.BUILD_DIR }} -G Ninja -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE}} -DCMAKE_C_COMPILER_LAUNCHER=${{ matrix.ccache }} -DCMAKE_CXX_COMPILER_LAUNCHER=${{ matrix.ccache }} -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" .

- name: Setup Environment Variables
shell: bash
run: |
echo "${{steps.get-latest-tag.outputs.tag}}" > VERSION
VERSION=$(cat VERSION)
echo "ARTIFACTS_PATH=${{ env.BUILD_DIR }}/${{ env.PROJECT_NAME }}_artefacts/${{ env.BUILD_TYPE }}" >> $GITHUB_ENV
echo "VST3_PATH=${{ env.PROJECT_NAME }}_artefacts/${{ env.BUILD_TYPE }}/VST3/${{ env.PRODUCT_NAME }}.vst3" >> $GITHUB_ENV
Expand All @@ -128,10 +125,6 @@ jobs:
p12-file-base64: ${{ secrets.DEV_ID_APP_CERT }}
p12-password: ${{ secrets.DEV_ID_APP_PASSWORD }}

- name: Configure
shell: bash
run: cmake -B ${{ env.BUILD_DIR }} -G Ninja -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE}} -DCMAKE_C_COMPILER_LAUNCHER=${{ matrix.ccache }} -DCMAKE_CXX_COMPILER_LAUNCHER=${{ matrix.ccache }} -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" .

- name: Build
shell: bash
run: cmake --build ${{ env.BUILD_DIR }} --config ${{ env.BUILD_TYPE }} --parallel 4
Expand Down

0 comments on commit 5ede0fb

Please sign in to comment.