-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make CI use test_acceptance workflow. Create package before running t…
…est.
- Loading branch information
Showing
2 changed files
with
6 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,42 +7,6 @@ on: | |
branches: [ main, master ] | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-2022 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Get Conan | ||
id: conan | ||
uses: turtlebrowser/[email protected] | ||
- name: Add Conan remote | ||
run: conan remote add DEPS_REMOTE ${{ secrets.CONAN_REMOTE_URL }} | ||
- name: Detect profile | ||
run: conan profile detect | ||
|
||
- name: Cache Conan packages | ||
id: cache-conan | ||
uses: actions/cache@v3 | ||
env: | ||
cache-name: cache-conan-packages | ||
with: | ||
path: ~/.conan/data | ||
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/*.ini') }} | ||
restore-keys: | | ||
${{ runner.os }}-build-${{ env.cache-name }}- | ||
${{ runner.os }}-build- | ||
${{ runner.os }}- | ||
- if: ${{ steps.cache-conan.outputs.cache-hit == 'true' }} | ||
name: List the state of Conan packages | ||
continue-on-error: true | ||
run: conan list "*" | ||
|
||
- name: Build | ||
id: build | ||
uses: bentoudev/zet-cpp-build@main | ||
|
||
- name: Regen test | ||
run: ./test_regen.bat | ||
- name: Build test | ||
run: ./test_build.bat | ||
test_acceptance: | ||
uses: ./.github/workflows/test_acceptance.yml | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters